[Bug 40709] iexplore crashes when proxy enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 31 11:08:29 CDT 2016


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

--- Comment #4 from Bruno Jesus <00cpxxx at gmail.com> ---
This was also detected by Coverity.

*** CID 1362146:  Null pointer dereferences  (FORWARD_NULL)
/home/amine/wine/dlls/wininet/http.c: 1773 in HTTP_ShouldBypassProxy()
1767         while(1) {
1768             LPCWSTR tmp = ptr;
1769
1770             ptr = strchrW( ptr, ';' );
1771             if (!ptr)
1772                 ptr = strchrW( tmp, ' ' );

>>>     CID 1362146:  Null pointer dereferences  (FORWARD_NULL)
>>>     Comparing "ptr" to null implies that "ptr" might be null.
1773             if (!ptr)
1774                 ptr = tmp + strlenW(ptr);
1775             ret = HTTP_DomainMatches( server, substr(tmp, ptr-tmp) );
1776             if (ret || !*ptr)
1777                 break;
1778             ptr++;

-- 
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