[krbdev.mit.edu #8134] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Mon Feb 9 22:27:39 EST 2015


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/e4c312e505b46b35ab35ce74a8eec153641f95ac
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: e4c312e505b46b35ab35ce74a8eec153641f95ac
Branch: krb5-1.12
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)



More information about the krb5-bugs mailing list