File: hardening.patch

package info (click to toggle)
libtfbs-perl 0.7.1%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: perl: 10,728; ansic: 1,228; makefile: 560; sh: 9
file content (15 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (7)
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);
 }