shlwapi: If the URL_UNESCAPE_INPLACE is set, UrlUnEscape should not fail if pcchUnescaped buffer is NULL

Louis. Lenders xerox_xerox2000 at yahoo.co.uk
Thu Aug 14 14:08:34 CDT 2008


Hi, this makes the Google Lively installer start downloading the installation files, instead of just hanging and timing out.

Tests show that if the bufferpointer pcchUnescaped = NULL, UrlUnEscape fails, but if the URL_UNESCAPE_INPLACE flag is set (and the bufferpointer is 0), it just returns S_OK, and the conversion is done just fine. 

I'll send the tests later-on, they still look rather ugly to me, i'll attach them to bug http://bugs.winehq.org/show_bug.cgi?id=14381 for now.


Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20080814/d5feb31b/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: url.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080814/d5feb31b/attachment.txt 


More information about the wine-patches mailing list