[openssl/openssl] df0ee3: signature/ecdsa_sig.c: Add checks for the EVP_MD_g...
JiashengJiang
noreply at github.com
Tue Apr 9 18:46:57 UTC 2024
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: df0ee35b53a6cde959c119a165814d88e4492bb1
https://github.com/openssl/openssl/commit/df0ee35b53a6cde959c119a165814d88e4492bb1
Author: Jiasheng Jiang <jiasheng at purdue.edu>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M providers/implementations/signature/ecdsa_sig.c
Log Message:
-----------
signature/ecdsa_sig.c: Add checks for the EVP_MD_get_size()
Add checks for the EVP_MD_get_size() to avoid integer overflow and then explicitly cast from int to size_t.
Fixes: edd3b7a309 ("Add ECDSA to providers")
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23947)
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