* kerberos_v4.c (v4_klog): Don't treat the formatted text as a format string
authorKen Raeburn <raeburn@mit.edu>
Fri, 25 Feb 2000 00:00:50 +0000 (00:00 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 25 Feb 2000 00:00:50 +0000 (00:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12067 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/kerberos_v4.c

index 7f86a66968ce9a7ba81b5fab6a0a06f334e15fc0..11bee1b88abc25109b60e388a74db73770fb0c11 100644 (file)
@@ -1,3 +1,9 @@
+2000-02-24  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * kdc_preauth.c (get_preauth_hint_list): Log a message if preauth
index 1dc50a9d5aed204807149372aaf2f349405005d9..f05452e184de9540aeee57a398f3641f64f0d85d 100644 (file)
@@ -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);