mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
09dca55733
As the potential failure of the rand_get_global(), for example fail to get lock, 'dgbl' could be NULL pointer and be dereferenced later. Therefore, it should be better to check it and return error if fails, like RAND_get0_primary() and other callers. Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/17690) |
||
---|---|---|
.. | ||
build.info | ||
prov_seed.c | ||
rand_deprecated.c | ||
rand_egd.c | ||
rand_err.c | ||
rand_lib.c | ||
rand_local.h | ||
rand_meth.c | ||
rand_pool.c | ||
randfile.c |