SOURCES: cancd-nullterminate.patch (NEW) - terminate format string...
glen
glen at pld-linux.org
Tue Jun 13 08:30:15 CEST 2006
Author: glen Date: Tue Jun 13 06:30:15 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- terminate format string with \0
---- Files affected:
SOURCES:
cancd-nullterminate.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cancd-nullterminate.patch
diff -u /dev/null SOURCES/cancd-nullterminate.patch:1.1
--- /dev/null Tue Jun 13 08:30:15 2006
+++ SOURCES/cancd-nullterminate.patch Tue Jun 13 08:30:10 2006
@@ -0,0 +1,12 @@
+--- cancd-0.1.0/cancd.c~ 2006-06-13 09:29:06.436946340 +0300
++++ cancd-0.1.0/cancd.c 2006-06-13 09:29:10.687041938 +0300
+@@ -169,6 +169,9 @@
+ }
+ }
+
++ /* terminate the format string! */
++ *fptr = '\0';
++
+ newstr = malloc(sizeof(char) * PATH_MAX);
+ if (!newstr)
+ {
================================================================
More information about the pld-cvs-commit
mailing list