[PATCH] wininet/test: Check null pointer in InternetGetSecurityInfoByURLW

Jacek Caban jacek at codeweavers.com
Tue Jan 9 05:06:25 CST 2018

From: Wei Xie <xiewei at deepin.com>

Signed-off-by: Wei xie <xiewei at linuxdeepin.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>

My changes:
- don't test last error on success
- fixed cert chain leak in tests
- don't duplicate cert chain if we know that it's not needed

 dlls/wininet/internet.c   | 15 ++++++++-------
 dlls/wininet/tests/http.c | 12 ++++++++++++
 2 files changed, 20 insertions(+), 7 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wininet-test-Check-null-pointer-in-InternetGetSecurit.diff
Type: text/x-patch
Size: 2581 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180109/d43ff8b5/attachment.bin>

More information about the wine-devel mailing list