From 6f4551344a984239293b45ebcb1878f5014f25a7 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 16 2021 22:15:09 +0000 Subject: Apply patch gpm-format-security.patch patch_name: gpm-format-security.patch present_in_specfile: true --- diff --git a/src/lib/report-lib.c b/src/lib/report-lib.c index 47631db..56870a7 100644 --- a/src/lib/report-lib.c +++ b/src/lib/report-lib.c @@ -55,7 +55,7 @@ void gpm_report(int line, char *file, int stat, char *text, ... ) log_level = LOG_CRIT; break; } #ifdef HAVE_VSYSLOG - syslog(log_level, string); + syslog(log_level, "%s", string); vsyslog(log_level, text, ap); #else fprintf(stderr,"%s[%s(%d)]:\n",string,file,line);