[PATCH 1/2] urlmon: Fix HttpProtocol_Start and strndupW to work properly with native wininet.

Misha Koshelev mk144210 at bcm.edu
Thu Jul 12 00:38:20 CDT 2007


The native behavior of InternetCrackUrlW is to not set the URL_COMPONENTSW lpsz members if that
portion of the URL is not present (so it remains NULL). Also it fails with E_INVALID_PARAMETER
if ICU_ESCAPE is set up and the caller does not set user-supplied buffers. If this becomes
wine behavior too I don't want HttpProtocol to page fault (and this version works just fine
with the wine wininet as well).
---
 dlls/urlmon/http.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9f08d3c52a55631ce43369610126fde590d6a1dc.diff
Type: text/x-patch
Size: 1013 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070712/23865c36/9f08d3c52a55631ce43369610126fde590d6a1dc.bin


More information about the wine-patches mailing list