[openssl/openssl] 1d37b0: Fix coverity-1604666
Neil Horman
noreply at github.com
Wed Jul 17 14:32:59 UTC 2024
Branch: refs/heads/openssl-3.3
Home: https://github.com/openssl/openssl
Commit: 1d37b00b28962095fba1baa1590d05539dcdc6db
https://github.com/openssl/openssl/commit/1d37b00b28962095fba1baa1590d05539dcdc6db
Author: Neil Horman <nhorman at openssl.org>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M crypto/rsa/rsa_oaep.c
Log Message:
-----------
Fix coverity-1604666
Coverity recently flaged an error in which the return value for
EVP_MD_get_size wasn't checked for negative values prior to use, which
can cause underflow later in the function.
Just add the check and error out if get_size returns an error.
Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24896)
(cherry picked from commit 22e08c7cdc596d4f16749811d1022fb8b07a8e41)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list