diff options
author | tb <> | 2021-05-01 13:16:30 +0000 |
---|---|---|
committer | tb <> | 2021-05-01 13:16:30 +0000 |
commit | fae403f23baa4e1b63122662c3ebdf9a99097ae3 (patch) | |
tree | 855d3e18bd8860d929742fdee066dd3f36a832d7 /src/lib/libssl/ssl_srvr.c | |
parent | bda487a9531b508fcb2602e5fddbef19d89ff384 (diff) | |
download | openbsd-fae403f23baa4e1b63122662c3ebdf9a99097ae3.tar.gz openbsd-fae403f23baa4e1b63122662c3ebdf9a99097ae3.tar.bz2 openbsd-fae403f23baa4e1b63122662c3ebdf9a99097ae3.zip |
Plug leak in c2i_ASN1_OBJECT
When using the object reuse facility of c2i_ASN1_OBJECT, the dynamically
allocated strings a may contain are set to NULL, so we must free them
beforehand. Also clear the flag, because that's what OpenSSL chose to do.
From Richard Levitte OpenSSL 1.1.1 65b88a75921533ada8b465bc8d5c0817ad927947
ok inoguchi
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions