tags 614450 + patch
tags 614450 + pending
thanks
Dear maintainer,
I've prepared an NMU for nast (versioned as 0.2.0-5.1) and uploaded it
to DELAYED/2. Please feel free to tell me if I should delay it longer.
--
Jakub Wilk
diffstat for nast_0.2.0-5 nast_0.2.0-5.1
debian/patches/printf-literal-format | 17 +++++++++++++++++
nast-0.2.0/debian/changelog | 9 +++++++++
nast-0.2.0/debian/control | 2 +-
nast-0.2.0/debian/patches/series | 1 +
4 files changed, 28 insertions(+), 1 deletion(-)
diff -u nast-0.2.0/debian/changelog nast-0.2.0/debian/changelog
--- nast-0.2.0/debian/changelog
+++ nast-0.2.0/debian/changelog
@@ -1,3 +1,12 @@
+nast (0.2.0-5.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use a string literal for the format argument in printf calls (closes:
+ #614450). Thanks to Lucas Nussbaum for the bug report.
+ * Add a comma between ${shlibs:Depends} and ${misc:Depends}.
+
+ -- Jakub Wilk <[email protected]> Mon, 07 Mar 2011 23:19:18 +0100
+
nast (0.2.0-5) unstable; urgency=low
* adopt package (Closes: #461243)
diff -u nast-0.2.0/debian/control nast-0.2.0/debian/control
--- nast-0.2.0/debian/control
+++ nast-0.2.0/debian/control
@@ -8,7 +8,7 @@
Package: nast
Architecture: any
-Depends: ${shlibs:Depends} ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: packet sniffer and lan analyzer
Can sniff in normal mode or in promiscuous mode the packets on a network
interface and log it. It dumps the headers of packets and the payload in
diff -u nast-0.2.0/debian/patches/series nast-0.2.0/debian/patches/series
--- nast-0.2.0/debian/patches/series
+++ nast-0.2.0/debian/patches/series
@@ -4,0 +5 @@
+printf-literal-format
only in patch2:
unchanged:
--- nast-0.2.0.orig/debian/patches/printf-literal-format
+++ nast-0.2.0/debian/patches/printf-literal-format
@@ -0,0 +1,17 @@
+Description: Use a string literal for the format argument in printf calls.
+Author: Jakub Wilk <[email protected]>
+Bug: http://bugs.debian.org/614450
+Forwarded: no
+Last-Update: 2011-03-07
+
+--- a/bcount.c
++++ b/bcount.c
+@@ -153,7 +153,7 @@
+ else icons++;
+
+ sprintf (value, "%Ld", number);
+- printf (value);
++ printf ("%s", value);
+
+ /* calculate space */
+ if (strlen(value) < 6) printf ("\t\t");