shell32: Set pointer to NULL after free to avoid double free
Michael Mc Donnell
michael at mcdonnell.dk
Thu Oct 20 10:49:08 CDT 2011
UnixSubFolderIterator_IEnumIDList_Next currently changes value
of the pointer passed in and leaves garbage in it if it fails. It
should instead either not touch the value or NULL it. Tests are
needed to show which one is the correct behavior. This patch sets
the pointer to NULL if the function fails, and thereby fixes the
double free bug 28737.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1285 bytes
Desc: not available
More information about the wine-patches