mirror of
https://github.com/openssl/openssl.git
synced 2025-02-11 14:22:43 +08:00
RAND_get_rand_method() can return a NULL method pointer in the case of a malloc failure, so don't dereference it without a check. Reported-by: Zu-Ming Jiang (detected by FIFUZZ) Fixes #10480 Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10483) |
||
---|---|---|
.. | ||
build.info | ||
drbg_ctr.c | ||
drbg_hash.c | ||
drbg_hmac.c | ||
drbg_lib.c | ||
rand_crng_test.c | ||
rand_egd.c | ||
rand_err.c | ||
rand_lib.c | ||
rand_local.h | ||
rand_unix.c | ||
rand_vms.c | ||
rand_vxworks.c | ||
rand_win.c | ||
randfile.c |