File: hardening.patch

package info (click to toggle)
libtfbs-perl 0.6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,608 kB
  • ctags: 725
  • sloc: perl: 6,980; ansic: 699; makefile: 557; sh: 9
file content (15 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
LastChanged: Sat, 16 Nov 2013 22:02:13 +0100
Description: Enable building with -Wformat-security

--- a/Ext/lib/pwm_searchPFF.c
+++ b/Ext/lib/pwm_searchPFF.c
@@ -121,7 +121,7 @@ char *msg;
 {
    int retval = 0;
 
-   fprintf(stderr,msg);
+   fprintf(stderr,"%s",msg);
 
    return(retval);
 }