[openssl/openssl] 12e488: ssl/tls_srp.c: Add check for BN_dup
Todd Short
noreply at reply.github.openssl.org
Fri Jul 8 17:09:44 UTC 2022
Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: 12e488367d34657a5c0e1bc322e66c48463d2a0c
https://github.openssl.org/openssl/openssl/commit/12e488367d34657a5c0e1bc322e66c48463d2a0c
Author: Jiasheng Jiang <jiasheng at iscas.ac.cn>
Date: 2022-07-08 (Fri, 08 Jul 2022)
Changed paths:
M ssl/tls_srp.c
Log Message:
-----------
ssl/tls_srp.c: Add check for BN_dup
As the potential failure of the BN_dup,
it should be better to check the return value
in order to guarantee the success.
Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/18699)
More information about the openssl-commits
mailing list