appwiz.cpl: Do not access memory after HeapFree in FreeAppInfo

Detlef Riekenberg wine.dev at web.de
Fri Jul 25 09:47:27 CDT 2008


The "if (..)" before HeapFree() is unneeded

The last HeapFree did not free the current entry,
but the next entry.
So for the second iteration of while(),
already freed memory was accessed.



-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-appwiz.cpl-Do-not-access-memory-after-HeapFree-in-Fre.txt
Type: application/mbox
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080725/69134ce8/attachment.bin 


More information about the wine-patches mailing list