summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-04-20 08:43:30 +0200
committerRichard Levitte <levitte@openssl.org>2021-04-27 12:41:28 +0200
commit65b88a75921533ada8b465bc8d5c0817ad927947 (patch)
tree494c31f80bb4fb8aa0c34b04f94c7b223b33dd6a /test
parent513ead860853e0d07f7fc43bf35d1b90fdad5a11 (diff)
ASN1: Ensure that d2i_ASN1_OBJECT() frees the strings on ASN1_OBJECT reuse
The 'sn' and 'ln' strings may be dynamically allocated, and the ASN1_OBJECT flags have a bit set to say this. If an ASN1_OBJECT with such strings is passed to d2i_ASN1_OBJECT() for reuse, the strings must be freed, or there is a memory leak. Fixes #14667 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14938)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions