[PATCH] GetUrlCacheEntryInfo*: Handle null dest pointer when length is given

Jon Griffiths jon_p_griffiths at yahoo.com
Thu Jun 5 19:09:40 CDT 2008


Hi,

If a null buffer is passed into the GetUrlCacheEntryInfo* or RetrieveUrlCacheEntryFileA/W function when a size is given, it returns the required size even though it also returns an error. MSN Messenger 7.0 relies on this undocumented behaviour. Fixes http://bugs.winehq.org/show_bug.cgi?id=12447.

Cheers
Jon




      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WININET_fix_cache_crashes.diff
Type: text/x-diff
Size: 10021 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080605/d9e78c80/attachment.diff 


More information about the wine-patches mailing list