]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix NULL check in get_ocsp_resp_from_responder
authorNeil Horman <nhorman@openssl.org>
Sat, 26 Jul 2025 13:30:53 +0000 (09:30 -0400)
committerNeil Horman <nhorman@openssl.org>
Tue, 29 Jul 2025 17:40:57 +0000 (13:40 -0400)
commit3c4f009959c4b73b78219da51e49bb564a24ef48
tree31fb1d2487c1e802ee7dc6718e4c003095f11b4e
parentbd1a14bcaf77426fa17c2acaff48fb9a612ce680
Fix NULL check in get_ocsp_resp_from_responder

We assign an allocation to *sk_resp, but only check for NULL on sk_resp,
not the value it points to.

Addresses https://scan5.scan.coverity.com/#/project-view/60762/10222?selectedIssue=1659222

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28101)
apps/s_server.c