comctl32: Allocate new memory in notify_forward_header() to avoid Free() on wrong pointer. (Valgrind)

Sebastian Lackner sebastian at fds-team.de
Sat Jun 21 20:39:14 CDT 2014


Fixes https://bugs.winehq.org/show_bug.cgi?id=36188

(Yeah, really ... the old code reallocated _and_ converted the strings
in-place, and afterwards released them, while the pointer still pointed
to the old invalid locations ...)

---
 dlls/comctl32/listview.c |    2 ++
 1 file changed, 2 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-Allocate-new-memory-in-notify_forward_heade.patch
Type: text/x-patch
Size: 1273 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140622/795dfa35/attachment.bin>


More information about the wine-patches mailing list