summaryrefslogtreecommitdiffstats
path: root/system/d52/20-fix-format-security-error.patch
blob: c7ed896ade8148bae170ea71bdef170d1f018dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur -x '*.orig' -x '*~' d52-3.4.1/d52pass2.c d52-3.4.1.new/d52pass2.c
--- d52-3.4.1/d52pass2.c	2007-09-02 15:31:16.000000000 +0000
+++ d52-3.4.1.new/d52pass2.c	2011-11-08 02:22:21.000000000 +0000
@@ -932,7 +932,7 @@
 	}
 	else if (dir < 0x80)
 	{
-		kcnt += fprintf(fp, rbname[dir].dent);
+		kcnt += fprintf(fp, "%s",rbname[dir].dent);
 		dirregs[dir] |= 1;
 	}
 	else