From: Ken Raeburn Date: Fri, 25 Feb 2000 00:00:50 +0000 (+0000) Subject: * kerberos_v4.c (v4_klog): Don't treat the formatted text as a format string X-Git-Tag: krb5-1.2-beta1~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=179a7cdc7919ce7264b678c97b45c015675b78a4;p=krb5.git * kerberos_v4.c (v4_klog): Don't treat the formatted text as a format string git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12067 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 7f86a6696..11bee1b88 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,9 @@ +2000-02-24 Ken Raeburn + + * kerberos_v4.c (v4_klog): Don't treat the formatted text as a + format string. (Patch from Mike Friedman, + mikef@ack.Berkeley.EDU.) + 2000-02-07 Ken Raeburn * kdc_preauth.c (get_preauth_hint_list): Log a message if preauth diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c index 1dc50a9d5..f05452e18 100644 --- a/src/kdc/kerberos_v4.c +++ b/src/kdc/kerberos_v4.c @@ -293,7 +293,7 @@ char * v4_klog( type, format, va_alist) case L_APPL_REQ: strcpy(log_text, "PROCESS_V4:"); vsprintf(log_text+strlen(log_text), format, pvar); - krb5_klog_syslog(logpri, log_text); + krb5_klog_syslog(logpri, "%s", log_text); /* ignore the other types... */ } va_end(pvar);