[Bug 41956] Regression in wininet crashes skype

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 8 18:57:49 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=41956

--- Comment #5 from Fabian Maurer <dark.shadow4 at web.de> ---
MSDN: "If an E_POINTER error code is returned, the buffer was too small to hold
the result, and the value referenced by pcchEscaped is set to the required
number of characters in the buffer."

rc = UrlEscapeW(path, NULL, &needed, URL_ESCAPE_SPACES_ONLY);
if (rc == E_POINTER)
    needed = strlenW(path)+1;

That doesn't seem quite right to me. Sure the "!=" wasn't right? It works if I
change that back.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list