]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix NULL check in bring_oscp_resp_in_correct_order
authorNeil Horman <nhorman@openssl.org>
Sat, 26 Jul 2025 13:18:11 +0000 (09:18 -0400)
committerNeil Horman <nhorman@openssl.org>
Tue, 29 Jul 2025 17:40:57 +0000 (13:40 -0400)
commit8ceae5a6226c6c909c7ce0b4582d0d698e5d1357
tree61589d0d03cca2308980153c4e89b6c04ec90e42
parent88a1fbb8d1b22a7c54483e50eed9ca77d28ee441
Fix NULL check in bring_oscp_resp_in_correct_order

We assign an allocated pointer to *sk_resp but only check if sk_resp is
NULL when sk_resp is a pointer to a pointer

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

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