[openssl/openssl] 89601c: Fix incomplete BIO_dup_state() error check
Niels Dossche
noreply at github.com
Wed Feb 8 16:00:38 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 89601c72471a4b6bbb9e877f5c54f20eceba5f01
https://github.com/openssl/openssl/commit/89601c72471a4b6bbb9e877f5c54f20eceba5f01
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)
More information about the openssl-commits
mailing list