diff options
author | Matt Caswell <matt@openssl.org> | 2024-01-19 14:32:18 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2024-01-25 15:27:43 +0000 |
commit | 8a85df7c60ba1372ee98acc5982e902d75f52130 (patch) | |
tree | fe3ce17b3cf60a9f484309c6ab9751581ac1ae55 /crypto/err | |
parent | 041962b429ebe748c8b6b7922980dfb6decfef26 (diff) |
Add some tests for various PKCS12 files with NULL ContentInfo
PKCS7 ContentInfo fields held within a PKCS12 file can be NULL, even if the
type has been set to a valid value. CVE-2024-0727 is a result of OpenSSL
attempting to dereference the NULL pointer as a result of this.
We add test for various instances of this problem.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23361)
Diffstat (limited to 'crypto/err')
0 files changed, 0 insertions, 0 deletions