pull up r19395 from trunk
r19395@cathode-dark-space: tlyu | 2007-04-03 15:23:52 -0400
ticket: new
subject: MITKRB5-SA-2007-002: buffer overflow in krb5_klog_syslog
target_version: 1.6.1
tags: pullup
Fix MITKRB5-SA-2007-002: buffer overflow in krb5_klog_syslog.
* src/lib/krb5/krb/get_in_tkt.c (krb5_klog_syslog): Use vsnprintf
if available.
Everything else: use precision fields on "%s" specifiers to truncate
logged strings, in case someone doesn't have vsnprintf.
ticket: 5507
version_fixed: 1.6.1
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19397
dc483132-0cff-0310-8789-
dd5450dbe970