summarylogtreecommitdiffstats
path: root/cdparanoia-10.2-format-security.patch
blob: 55c82350cc9e04d8e3fe4d9b4eabbd95a8aca72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/main.c
+++ b/main.c
@@ -588,10 +588,10 @@
 	    buffer[aheadposition+19]='>';
 	}
    
-	fprintf(stderr,buffer);
+	fprintf(stderr, "%s", buffer);
        
 	if (logfile != NULL && function==-1) {
-	  fprintf(logfile,buffer+1);
+	  fprintf(logfile, "%s", buffer+1);
 	  fprintf(logfile,"\n\n");
 	  fflush(logfile);
 	}