Branch: refs/heads/master Home: https://github.com/openssl/openssl Commit: 4a5088259e78127354f497931568de409ac905fc https://github.com/openssl/openssl/commit/4a5088259e78127354f497931568de409ac905fc Author: Jiasheng Jiang <jiash...@purdue.edu> Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths: M ssl/ssl_ciph.c Log Message: ----------- ssl_cipher_get_overhead(): Replace size_t with int and add the checks Replace the type of "mac", "out", and "blk" with int to avoid implicit conversion when it is assigned by EVP_MD_get_size(), EVP_CIPHER_get_iv_length(), and EVP_CIPHER_get_block_size(). Moreover, add the checks to avoid integer overflow. Fixes: 045bd04706 ("Add DTLS_get_data_mtu() function") Signed-off-by: Jiasheng Jiang <jiash...@purdue.edu> Reviewed-by: Tom Cosgrove <tom.cosgr...@arm.com> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23935) To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications