[krbdev.mit.edu #8011] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Oct 29 22:08:06 EDT 2014


Remove length limit on PKINIT PKCS#12 prompt

Long pathnames can trigger the 128-byte prompt length limit in
pkinit_get_certs_pkcs12.  Use asprintf instead of snprintf.  Also
check the result of the prompter invocation.

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



More information about the krb5-bugs mailing list