]> git.ipfire.org Git - thirdparty/openssl.git/commit - ssl/record/methods/tls1_meth.c
Pipeline output/input buf arrays must live until the EVP_Cipher is called
authorMatt Caswell <matt@openssl.org>
Fri, 21 Oct 2022 13:08:29 +0000 (14:08 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 2 Nov 2022 10:11:40 +0000 (11:11 +0100)
commit3961af375e1522a3d37d2af8628bff43103ab4f5
tree481ef1aeaca039bfe498c14c7ed4ae5b15860127
parentb718f6fcc4bbf48cfc6ab3fa64e6cb95453299b3
Pipeline output/input buf arrays must live until the EVP_Cipher is called

The pipeline input/output buf arrays must remain accessible to the
EVP_CIPHER_CTX until EVP_Cipher is subsequently called. This fixes an
asan error discovered by the newly added pipeline test.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19456)
ssl/record/methods/tls1_meth.c