[openssl/openssl] d39402: Fix a possible memleak in SRP_VBASE_new

Bernd Edlinger noreply at github.com
Fri Sep 8 07:22:24 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: d39402f7b909c9b5cc7eef7a633e14dccc90807d
      https://github.com/openssl/openssl/commit/d39402f7b909c9b5cc7eef7a633e14dccc90807d
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M crypto/srp/srp_vfy.c

  Log Message:
  -----------
  Fix a possible memleak in SRP_VBASE_new

In the error handling case the memory in
vb->users_pwd was accidentally not released.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21981)

(cherry picked from commit 68e95f7840d0d8ac4e5e03381cf9d305578dd1c7)




More information about the openssl-commits mailing list