#3 wininet: Use INTERNET_MAX_URL_LENGTH to size buffers we intend to store a URL in.
Hans Leidekker
hans at it.vu.nl
Mon Mar 31 13:26:16 CDT 2008
From include/wininet.h:
#define INTERNET_MAX_PATH_LENGTH 2048
#define INTERNET_MAX_URL_LENGTH (INTERNET_MAX_SCHEME_LENGTH + sizeof("://")+ INTERNET_MAX_PATH_LENGTH)
So 2048 is too small to store a URL.
-Hans
Changelog
Use INTERNET_MAX_URL_LENGTH to size buffers we intend to store a URL in.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet_use_max_url_length.diff
Type: text/x-diff
Size: 2109 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080331/d1b33f51/attachment.diff
More information about the wine-patches
mailing list