Revision 22f1a8ff78320cc0abd8f943c8fefd5e8dcdea1f authored by Bernd Edlinger on 24 November 2023, 06:02:35 UTC, committed by Tomas Mraz on 16 August 2024, 08:09:05 UTC
This is related to #22780, simply add test cases for the different failure modes of PEM_ASN1_read_bio. Depending on whether the PEM or the DER format is valid or not, the passed in CRL may be deleted ot not, therefore a statement like this: reused_crl = PEM_read_bio_X509_CRL(b, &reused_crl, NULL, NULL); must be avoided, because it can create memory leaks. Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22809) (cherry picked from commit 83951a9979784ffa701e945b86f2f0bc2caead8e)
1 parent d2a4566
File | Mode | Size |
---|---|---|
EVP_PKEY_DSA_keygen.c | -rw-r--r-- | 2.2 KB |
EVP_PKEY_DSA_paramfromdata.c | -rw-r--r-- | 2.2 KB |
EVP_PKEY_DSA_paramgen.c | -rw-r--r-- | 2.2 KB |
EVP_PKEY_DSA_paramvalidate.c | -rw-r--r-- | 7.4 KB |
EVP_PKEY_EC_keygen.c | -rw-r--r-- | 4.6 KB |
EVP_PKEY_RSA_keygen.c | -rw-r--r-- | 9.0 KB |
Makefile | -rw-r--r-- | 1.1 KB |
dsa.inc | -rw-r--r-- | 6.7 KB |

Computing file changes ...