Plug leak in X509V3_add1_i2d()
authortb <tb@openbsd.org>
Sun, 24 Jul 2022 21:41:29 +0000 (21:41 +0000)
committertb <tb@openbsd.org>
Sun, 24 Jul 2022 21:41:29 +0000 (21:41 +0000)
commit1a8fb6a1e2c379f6565adc7816377fe4a31667b1
tree3f7adeaa10edd834c6f46d0b6129a4fc8fff1bf4
parentb2c8ed29a5710db97192e61ef151081738f24729
Plug leak in X509V3_add1_i2d()

Do not leak the extension that was deleted from the stack.

via OpenSSL c3efe5c9.

ok jsing
lib/libcrypto/x509/x509_lib.c