comctl32: header: Avoid freeing invalid pointers

Mikołaj Zalewski mikolaj at zalewski.pl
Wed Apr 19 14:30:29 CDT 2006


  The pszText field of HEADER_ITEM may contain LPSTR_TEXTCALLBACK (value 
-1) or a pointer to a constant string. In many places header.c calls 
Free without checking for such pointers.

Changelog: Avoid freeing invalid pointers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: header_dispose.patch
Type: text/x-patch
Size: 2466 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060419/cebb5b30/header_dispose-0001.patch


More information about the wine-patches mailing list