[openssl/openssl] af801e: Fix memleak in PKCS12_pbe_crypt_ex()
Tomas Mraz
noreply at reply.github.openssl.org
Mon Jul 18 08:19:37 UTC 2022
Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: af801ec89205aaf6ebf8522d510d0b1fc29e3233
https://github.openssl.org/openssl/openssl/commit/af801ec89205aaf6ebf8522d510d0b1fc29e3233
Author: Roberto Hueso Gomez <roberto at robertohueso.org>
Date: 2022-07-18 (Mon, 18 Jul 2022)
Changed paths:
M crypto/pkcs12/p12_decr.c
Log Message:
-----------
Fix memleak in PKCS12_pbe_crypt_ex()
Makes sure that the variable 'out' is free on every error path.
Fixes #18689
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18808)
More information about the openssl-commits
mailing list