diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2023-12-10 10:18:19 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-12-12 13:43:08 +0100 |
commit | 1c078212f1548d7f647a1f0f12ed6df257c85cc3 (patch) | |
tree | 4648ee1bee1290c8a3813ca1389e7fb6e5804ca0 /Configurations | |
parent | 6ebdbba76a45294e22006ede1442847cdee24f03 (diff) |
Fix a possible memory leak in do_othername
Since the gen->type will not be set in a2i_GENERAL_NAME
the gen->d.otherName will not be automatically
cleaned up by GENERAL_NAME_free.
Also fixed a similar leak in a2i_GENERAL_NAME,
where ASN1_STRING_set may fail but gen->d.ia5
will not be automatically cleaned up.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22996)
Diffstat (limited to 'Configurations')
0 files changed, 0 insertions, 0 deletions