[krbdev.mit.edu #8011] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Dec 16 14:25:52 EST 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.

(cherry picked from commit 3c330ea5846ca02da36a0cb5a5c879364d28a267)

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



More information about the krb5-bugs mailing list