]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix a possible use after free in X509v3_asid_add_id_or_range
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 15 Nov 2023 19:49:51 +0000 (20:49 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 1 Dec 2023 10:03:24 +0000 (11:03 +0100)
commit49e9436af3d85963fd6156b7d6f33e0734bf5ba9
tree557852fcd6e9c0e681f0670f66bc3a519951cd28
parentc89b553bdc2587b483f38aa1ab2b142cc078343d
Fix a possible use after free in X509v3_asid_add_id_or_range

And clean up partially created choice objects, which have
still the default type = -1 from ASIdentifierChoice_new().

Fixes #22700

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22745)
crypto/x509/v3_asid.c