Re: [PATCH] winhttp: check for endCert being NULL (Coverity)
Dec. 6, 2009
2:46 p.m.
Hi Marcus, - if (ret) + if (ret && endCert) ret = netconn_verify_cert( endCert, store, server ); In this case you'll return TRUE if endCert is NULL, implying that the certificate chain is valid when it most likely isn't, or at least its validity couldn't be verified. If you could add an "else ret = FALSE" branch that'd be preferable. Thanks, --Juan
5953
Age (days ago)
5953
Last active (days ago)
0 comments
1 participants
participants (1)
-
Juan Lang