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

Wei Xie xiewei at deepin.com
Thu Jan 4 02:48:53 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




------------------

武汉深之度科技有限公司
Wuhan Deepin Technology Co., Ltd.

  谢威

手机:18038104349


武汉:武汉市光谷大道77号光谷金融港B18栋6楼 
北京:北京市西城区新街口外大街28号院普天德胜B座603室
上海:上海市长宁区愚园路1258号15A01室


官网:www.deepin.org  官博:深度操作系统
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20180104/277c24de/attachment.html>
-------------- 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-patches/attachments/20180104/277c24de/attachment.obj>


More information about the wine-patches mailing list