]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a test for CVE-2022-4450
authorMatt Caswell <matt@openssl.org>
Tue, 13 Dec 2022 15:02:26 +0000 (15:02 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 Feb 2023 16:05:10 +0000 (17:05 +0100)
commitdc341a46677fe19f055bd2eea0e3a2af21053903
tree7cfd6088d6659b5007308b039e96b6e31105574f
parentee6243f3947107d655f6dee96f63861561a5aaeb
Add a test for CVE-2022-4450

Call PEM_read_bio_ex() and expect a failure. There should be no dangling
ptrs and therefore there should be no double free if we free the ptrs on
error.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
test/pemtest.c