openssl/crypto/rand
Dr. Matthias St. Pierre 0402c90ff9 rand_lib.c: fix null pointer dereferences after RAND_get_rand_method() failure
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)
2019-12-12 07:41:00 +10:00
..
build.info Rework how our providers are built 2019-10-10 14:12:15 +02:00
drbg_ctr.c Reorganize local header files 2019-09-28 20:26:35 +02:00
drbg_hash.c DRBG: add check for XOF so these can be disallowed by the DRBGs 2019-11-02 15:10:54 +10:00
drbg_hmac.c DRBG: add check for XOF so these can be disallowed by the DRBGs 2019-11-02 15:10:54 +10:00
drbg_lib.c Document "get/set-app-data" macros. 2019-10-23 08:31:21 -04:00
rand_crng_test.c Reorganize local header files 2019-09-28 20:26:35 +02:00
rand_egd.c Remove NextStep support 2019-07-01 13:32:46 -04:00
rand_err.c util/mkerr.pl: make it not depend on the function code 2019-09-12 17:59:52 +02:00
rand_lib.c rand_lib.c: fix null pointer dereferences after RAND_get_rand_method() failure 2019-12-12 07:41:00 +10:00
rand_local.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
rand_unix.c Move random-related defines from e_os.h to rand_unix.c 2019-10-19 00:04:27 +02:00
rand_vms.c Fix some typos 2019-12-11 19:04:01 +01:00
rand_vxworks.c Reorganize local header files 2019-09-28 20:26:35 +02:00
rand_win.c Fix some typos 2019-12-11 19:04:01 +01:00
randfile.c Circumvent a problem of lacking GetEnvironmentVariable() in WindowsCE. 2019-03-29 09:51:24 +00:00