]> git.ipfire.org Git - thirdparty/openssl.git/commit
Free pre_proc_exts in SSL_free()
authorMiłosz Kaniewski <milosz.kaniewski@gmail.com>
Tue, 30 Jun 2020 19:46:38 +0000 (21:46 +0200)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 2 Jul 2020 00:26:32 +0000 (17:26 -0700)
commitbfbf06c4d29086f1c67ed38324a2c4a9f642d291
tree9828302d2970d3016a393daa08a290a986ef7624
parentf924b298125010b998b33abd158ac6a057b2bc9d
Free pre_proc_exts in SSL_free()

Usually it will be freed in tls_early_post_process_client_hello().
However if a ClientHello callback will be used and will return
SSL_CLIENT_HELLO_RETRY then tls_early_post_process_client_hello()
may never come to the point where pre_proc_exts is freed.

Fixes #12194

CLA: trivial

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/12330)

(cherry picked from commit 94941cada25433a7dca35b5b9f8cbb751ab65ab3)
ssl/ssl_lib.c