[PATCH 2/3] comctl32/header: Process input order array more accurately

Nikolay Sivov bunglehead at gmail.com
Sun Oct 18 19:46:25 CDT 2009


This looks tricky but that's something that native does -
an array passed to HDM_SETORDERARRAY isn't blindly copied
to control data. It's checked and a kind of merge between
old and new arrays performed if new array contains some
invalid (out of range) indices or duplicates.

This also fixes a bug with MPLAB IDE, it passes invalid index
in order array which leads to read out of control allocated
order array bounds.

Changelog:
    - process input order array more accurately


More information about the wine-patches mailing list