]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix double-free in e_dasync.c
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 5 Oct 2021 19:38:55 +0000 (21:38 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 7 Oct 2021 14:05:53 +0000 (16:05 +0200)
commit14357a51130510d87fe5f31e45baaf70bd5c9027
tree29e36d783426695165823c28325c6137709d02c9
parent503eb0e108ca5819dacd5ae171aedd37268654d9
Fix double-free in e_dasync.c

When the cipher is copied, the inner_cihper_data
need to be copied as well, using the EVP_CTRL_COPY method.
The EVP_CIPH_CUSTOM_COPY bit needs to be set as well.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16751)
engines/e_dasync.c