Blame SOURCES/gpm-format-security.patch
|
|
b1a9ba |
diff -Naur gpm-1.20.6.orig/src/lib/report-lib.c gpm-1.20.6/src/lib/report-lib.c
|
|
|
b1a9ba |
--- gpm-1.20.6.orig/src/lib/report-lib.c 2014-02-05 19:11:58.688000000 +0100
|
|
|
b1a9ba |
+++ gpm-1.20.6/src/lib/report-lib.c 2014-02-05 19:11:23.968000000 +0100
|
|
|
b1a9ba |
@@ -55,7 +55,7 @@
|
|
|
b1a9ba |
log_level = LOG_CRIT; break;
|
|
|
b1a9ba |
}
|
|
|
b1a9ba |
#ifdef HAVE_VSYSLOG
|
|
|
b1a9ba |
- syslog(log_level, string);
|
|
|
b1a9ba |
+ syslog(log_level, "%s", string);
|
|
|
b1a9ba |
vsyslog(log_level, text, ap);
|
|
|
b1a9ba |
#else
|
|
|
b1a9ba |
fprintf(stderr,"%s[%s(%d)]:\n",string,file,line);
|