wininet: Don't discard the extra info part of a URL in
InternetOpenUrl.
Lei Zhang
thestig at google.com
Wed Mar 7 17:03:10 CST 2007
I think so... Hans?
On 3/7/07, Ron Yorston <rmy at tigress.co.uk> wrote:
> A fix to winnet/internet.c turned up in 0.9.32 that's supposed to ensure
> that the "extra info" part of a URL is correctly included. I think
> there's a problem with the patch. On line 2865 space is allocated
> for the extra info:
>
> if (!(path_extra = HeapAlloc(GetProcessHeap(), 0, size)))
>
> Shouldn't this be in units of sizeof(WCHAR)? That is,
>
> if (!(path_extra = HeapAlloc(GetProcessHeap(), 0, size*sizeof(WCHAR))))
>
> Ron
>
>
>
More information about the wine-devel
mailing list