[krbdev.mit.edu #8561] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Mar 23 14:24:51 EDT 2017


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.

https://github.com/krb5/krb5/commit/7fdaef7c3280c86b5df25ae061fb04cc56d8620c
Author: Greg Hudson <ghudson at mit.edu>
Commit: 7fdaef7c3280c86b5df25ae061fb04cc56d8620c
Branch: master
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list