]> git.ipfire.org Git - thirdparty/openssl.git/commit
asn_mime: Harden SMIME_write_ASN1_ex() against an empty stack
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Sat, 11 Oct 2025 12:27:52 +0000 (20:27 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 18 Nov 2025 16:53:40 +0000 (17:53 +0100)
commit1cd8e477c2f4b988cce00f305977fa1af9b2f4e5
treef442e1c95de7f9330e1f670aaee404acc33e8745
parent50295c9c4ce890b44f7f308b83dbcb6107190c51
asn_mime: Harden SMIME_write_ASN1_ex() against an empty stack

Label an empty digest list as `signed-data` instead of `certs-only`.

Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28881)
crypto/asn1/asn_mime.c