Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 70f589ae41928edda18470ba1c3df82af02a92b3
https://github.com/openssl/openssl/commit/70f589ae41928edda18470ba1c3df82af02a92b3
Author: valdaarhun <[email protected]>
Date: 2022-08-17 (Wed, 17 Aug 2022)
Changed paths:
M crypto/bn/bn_rand.c
Log Message:
-----------
Fix memory leak in BN_rand_range()
The patch enables BN_rand_range() to exit immediately
if BIGNUM *rnd is NULL.
CLA: trivial
Fixes: #18951
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Hugo Landau <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18982)