add a check for the return of sk_SRP_gN_new_null() so that capture the potential...
authorxkernel <xkernel.wang@foxmail.com>
Tue, 18 Oct 2022 16:54:26 +0000 (00:54 +0800)
committerPauli <pauli@openssl.org>
Thu, 20 Oct 2022 08:04:44 +0000 (19:04 +1100)
commitf44d32fdfbd2a249dae74dc24478f31fca69d288
tree5ba87ecea91d28e5cf9596d8773d51fa6297a0be
parentfdc5043d58900663b493147298e64f11353b35fe
add a check for the return of sk_SRP_gN_new_null() so that capture the potential memory error in time

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19435)
crypto/srp/srp_vfy.c