Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 70f589ae41928edda18470ba1c3df82af02a92b3
      
https://github.com/openssl/openssl/commit/70f589ae41928edda18470ba1c3df82af02a92b3
  Author: valdaarhun <icegambi...@gmail.com>
  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 <m...@openssl.org>
Reviewed-by: Paul Dale <pa...@openssl.org>
Reviewed-by: Hugo Landau <hlan...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18982)


Reply via email to