Skip to content
Commit 18a30b56 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Neil Horman
Browse files

store/store_lib.c: Add the checks for the EVP_MD_CTX_get_size()



Add the checks for the return value of EVP_MD_CTX_get_size() before explicitly cast them to size_t to avoid the integer overflow.

Fixes: fac8673b ("STORE: Add the possibility to search for specific information")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@purdue.edu>

Reviewed-by: default avatarTomas Mraz <tomas@openssl.org>
Reviewed-by: default avatarTodd Short <todd.short@me.com>
Reviewed-by: default avatarNeil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23955)
parent 15e06b12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment