]> git.ipfire.org Git - thirdparty/krb5.git/commit
Correct error handling bug in prior commit 617/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 23 Mar 2017 17:42:55 +0000 (13:42 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 23 Mar 2017 17:50:06 +0000 (13:50 -0400)
commit7fdaef7c3280c86b5df25ae061fb04cc56d8620c
treef4814a507d02834633ef27784129ea7710447fad
parent89634ca049e698d7dd2554f5c49bfc499be96188
Correct error handling bug in prior commit

In crypto_encode_der_cert(), if the second i2d_X509() invocation
fails, make sure to free the allocated pointer and not the
possibly-modified alias.

ticket: 8561
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c