blob: 12d540b6cddb9801e8bd1ef535d24337907e6eb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ad,v 1.2 2008/04/19 05:38:16 obache Exp $
Fix for SA17028, via FreeBSD.
--- src/log.c.orig 2003-08-18 09:52:38.000000000 +0000
+++ src/log.c
@@ -183,7 +183,7 @@ void log_flush(void)
fp=log_open();
for(i=0;i<max_log;i++){
- fprintf(fp,log_str[i]);
+ fprintf(fp,"%s",log_str[i]);
free(log_str[i]);
}
free(log_str);
|