setupapi: fix HeapFree of wrong pointer (found by Smatch).
Lionel_Debroux
lionel_debroux at yahoo.fr
Wed Sep 12 06:13:33 CDT 2007
StringTableInitialize and StringTableInitializeEx free wrong pointer
(NULL) and thus leak some heap memory in error paths. Found in Michael
Stefaniuc's list of potential Wine bugs detected by Smatch.
I had at first misread the code and mistaken the problem for a NOTABUG,
Michael corrected my mistake.
2007-09-06 Lionel Debroux <lionel_debroux at yahoo.fr>
* dlls/setupapi/stringtable.c:
setupapi: fix HeapFree of wrong pointer (found by Smatch).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-setupapi-fix-HeapFree-of-wrong-pointer-found-by-Sm.patch
Type: text/x-patch
Size: 1071 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070912/c8b38ed6/0002-setupapi-fix-HeapFree-of-wrong-pointer-found-by-Sm.bin
More information about the wine-patches
mailing list