]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix memory leak in OSSL_CMP_CTX
authorPetr Gotthard <petr.gotthard@centrum.cz>
Tue, 25 May 2021 13:39:01 +0000 (15:39 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 28 May 2021 09:11:53 +0000 (11:11 +0200)
commit32075a17249636b3e2986a0ac422b1803663ccaa
tree40ac9f3832782dcfe793ac8046b0a7a457c0029c
parenta935791d54078f43209ffbc1886ac5e68772ce34
Fix memory leak in OSSL_CMP_CTX

The ctx->propq is strdup'ed, so it must be free'd too.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15458)
crypto/cmp/cmp_ctx.c
crypto/cmp/cmp_local.h