tags 643441 + patch
thanks

Dear maintainer,

I've prepared an NMU for maloc (versioned as 0.2-2.3) and uploaded it. The diff
is attached to this message.

Regards.

-- 
Tim Retout <dioc...@debian.org>
diff -u maloc-0.2/debian/changelog maloc-0.2/debian/changelog
--- maloc-0.2/debian/changelog
+++ maloc-0.2/debian/changelog
@@ -1,3 +1,11 @@
+maloc (0.2-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/format-security.diff: New patch to fix build when
+    -Werror=format-security is enabled. (Closes: #643441)
+
+ -- Tim Retout <dioc...@debian.org>  Mon, 05 Dec 2011 18:41:08 +0000
+
 maloc (0.2-2.2) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- maloc-0.2.orig/debian/patches/format-security.diff
+++ maloc-0.2/debian/patches/format-security.diff
@@ -0,0 +1,24 @@
+Description: Fix build when -Werror=format-security is enabled.
+Author: Tim Retout <dioc...@debian.org>
+Bug-Debian: http://bugs.debian.org/643441
+
+--- maloc-0.2.orig/src/vsys/vnm.c
++++ maloc-0.2/src/vsys/vnm.c
+@@ -910,7 +910,7 @@
+                     fprintf(cons[unit],"# MC-shell I/O capture file.\n");
+                     now = time(VNULL);
+                     sprintf(str,"# Creation Date and Time:  %s",ctime(&now));
+-                    fprintf(cons[unit],str);
++                    fprintf(cons[unit],"%s",str);
+                     fprintf(cons[unit],"####################################"
+                         "##########################################\n");
+                 } else if (unit == 3) {
+@@ -920,7 +920,7 @@
+                     fprintf(cons[unit],"# MC-shell history file.\n");
+                     now = time(VNULL);
+                     sprintf(str,"# Creation Date and Time:  %s",ctime(&now));
+-                    fprintf(cons[unit],str);
++                    fprintf(cons[unit],"%s",str);
+                     fprintf(cons[unit],"####################################"
+                         "##########################################\n");
+                 }

Reply via email to