[Bug 28394] New: Crash in wininet/http.ok if connection fails?

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 15 08:34:11 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28394

           Summary: Crash in wininet/http.ok if connection fails?
           Product: Wine
           Version: 1.3.28
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wininet
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Probably the test should skip if the connection fails.
We should also check to see what native InternetQueryOption does
on a failed connection (if we don't already; we do check what it does on
a closed one, at least).

Here's the log:

../../../tools/runtest -q -P wine -M wininet.dll -T ../../.. -p
wininet_test.exe.so http.c && touch http.ok
...
err:wininet:NETCON_secure_connect SSL_connect failed: 12056
wine: Unhandled page fault on read access to 0x00000008 at address
0x2abec87c5798 (thread 0037), starting debugger...
http.c:2873: Test failed: HttpSendRequest failed: 12056
Backtrace:
=>0 NETCON_GetCert+0x18(connection=(nil)) [dlls/wininet/netconnection.c:860] 
  1 HTTPREQ_QueryOption+0x887(hdr=0x3cab0, option=0x20, buffer=0x415e0,
size=0x22fa18, unicode=0) [dlls/wininet/http.c:2123] 
  2 InternetQueryOptionA+0x12b(hInternet=0x3, dwOption=0x20, lpBuffer=0x415e0,
lpdwBufferLength=0x22fa18) [dlls/wininet/internet.c:2518] 
  3 test_secure_connection+0x35b() [dlls/wininet/tests/http.c:2885] 
NETCON_GetCert+0x18 [dlls/wininet/netconnection.c:860] in wininet: movq
0x0000000000000008(%rax),%rax
860         if (!connection->ssl_s)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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