[openssl/openssl] 6c0f15: signature/rsa_sig.c: Add checks for the EVP_MD_get...
JiashengJiang
noreply at github.com
Mon Apr 1 18:49:37 UTC 2024
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 6c0f154750a3380cced8ddab44d7ad100b6ab984
https://github.com/openssl/openssl/commit/6c0f154750a3380cced8ddab44d7ad100b6ab984
Author: Jiasheng Jiang <jiasheng at purdue.edu>
Date: 2024-04-01 (Mon, 01 Apr 2024)
Changed paths:
M providers/implementations/signature/rsa_sig.c
Log Message:
-----------
signature/rsa_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: 6f4b766315 ("PROV: add RSA signature implementation")
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23949)
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