dlls/shlwapi/assoc.c:fix ASSOC_GetExecutable not to use uninitialised variable

Joris Huizer joris_huizer at yahoo.com
Tue Oct 14 17:11:27 CDT 2008


When pszExtra is unequal to zero, set pszExtraFromReg to zero as it'll get free'd later on;

(Another way would be to set the variable to NULL explicitly if it's desirable to make this case very explicit)


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dlls-shlwapi-assoc.c-fix-ASSOC_GetExecutable-not-to.patch
Type: text/x-diff
Size: 893 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081014/838950d0/attachment.patch 


More information about the wine-patches mailing list