]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove length limit on PKINIT PKCS#12 prompt 229/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 29 Oct 2014 16:16:40 +0000 (12:16 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 30 Oct 2014 01:59:32 +0000 (21:59 -0400)
commit3c330ea5846ca02da36a0cb5a5c879364d28a267
tree45f00ae6d4ca9bed7de8d8f8b02d21bec5b0b1ba
parent9b3052b5aba7d71c515710b289c237732da35f08
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.

ticket: 8011
target_version: 1.13.1
tags: pullup
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c