[PATCH 1/1] wininet: Fix crash when connection is null in NETCON_secure_connect

Wei Xie xiewei at deepin.com
Thu Jan 4 23:27:05 CST 2018

request->netconn may be released before call NETCON_secure_connect.

5029             if(!request->contentLength)
5030                 http_release_netconn(request, TRUE);

5121             if (secure_proxy_connect && request->status_code == HTTP_STATUS_OK)
5122             {
5123                 res = NETCON_secure_connect(request->netconn, request->server);

I don't know how write a test patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wininet-Fix-crash-when-connection-is-null-in-NETCON_.patch
Type: application/octet-stream
Size: 951 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180105/04684b8b/attachment.obj>

More information about the wine-devel mailing list