]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove length limit on PKINIT PKCS#12 prompt
authorGreg Hudson <ghudson@mit.edu>
Wed, 29 Oct 2014 16:16:40 +0000 (12:16 -0400)
committerTom Yu <tlyu@mit.edu>
Tue, 10 Feb 2015 03:14:23 +0000 (22:14 -0500)
commite4c312e505b46b35ab35ce74a8eec153641f95ac
tree4ab845cbb927241b7c7b7cb99a7d23fb63f2813b
parent7cd2e47e3f114eb3e05123fc2fca59a998cb43e5
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)

ticket: 8134 (new)
version_fixed: 1.12.3
status: resolved
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c