[openssl/openssl] cf3cf2: Fix incomplete BIO_dup_state() error check
Niels Dossche
noreply at github.com
Wed Feb 8 16:05:26 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: cf3cf2ba81f803f283f40ff93cb19d2b8142dacd
https://github.com/openssl/openssl/commit/cf3cf2ba81f803f283f40ff93cb19d2b8142dacd
Author: ndossche <niels.dossche at ugent.be>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M crypto/bio/bio_lib.c
Log Message:
-----------
Fix incomplete BIO_dup_state() error check
BIO_dup_state() returns an error code <= 0 according to my analysis tool
and the documentation. Currently only == 0 is checked. Fix it by
changing the check condition.
CLA: trivial
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/20194)
(cherry picked from commit 89601c72471a4b6bbb9e877f5c54f20eceba5f01)
More information about the openssl-commits
mailing list