summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authortb <>2021-05-01 13:16:30 +0000
committertb <>2021-05-01 13:16:30 +0000
commitfae403f23baa4e1b63122662c3ebdf9a99097ae3 (patch)
tree855d3e18bd8860d929742fdee066dd3f36a832d7 /src/lib/libc/string
parentbda487a9531b508fcb2602e5fddbef19d89ff384 (diff)
downloadopenbsd-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/libc/string')
0 files changed, 0 insertions, 0 deletions