tags 643431 + pending
thanks

Dear maintainer,

I've prepared an NMU for libnet (versioned as 1.1.4-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Donovan: Bye bye girl
diff -u libnet-1.1.4/debian/changelog libnet-1.1.4/debian/changelog
--- libnet-1.1.4/debian/changelog
+++ libnet-1.1.4/debian/changelog
@@ -1,3 +1,13 @@
+libnet (1.1.4-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: libnet_init.c:88:17: error: format not a string literal
+    and no format arguments [-Werror=format-security]": add patch from Bart
+    Martens as Werror_format-security.patch.
+    Closes: #643431
+
+ -- gregor herrmann <[email protected]>  Sat, 15 Oct 2011 16:30:40 +0200
+
 libnet (1.1.4-2) unstable; urgency=low
 
   * Fix double free()s (Closes: #534437)
diff -u libnet-1.1.4/debian/patches/series libnet-1.1.4/debian/patches/series
--- libnet-1.1.4/debian/patches/series
+++ libnet-1.1.4/debian/patches/series
@@ -1,0 +2 @@
+Werror_format-security.patch
only in patch2:
unchanged:
--- libnet-1.1.4.orig/debian/patches/Werror_format-security.patch
+++ libnet-1.1.4/debian/patches/Werror_format-security.patch
@@ -0,0 +1,36 @@
+diff -ruN -x '*.png' -x '*.jpg' -x '*.ogg' -x '*_image_archive' ../orig/libnet-1.1.4/src/libnet_init.c ./src/libnet_init.c
+--- ../orig/libnet-1.1.4/src/libnet_init.c	2009-06-05 02:31:44.000000000 +0200
++++ ./src/libnet_init.c	2011-10-03 19:00:03.000000000 +0200
+@@ -85,12 +85,12 @@
+         case LIBNET_LINK_ADV:
+             if (libnet_select_device(l) == -1)
+             {
+-                snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
++                snprintf(err_buf, LIBNET_ERRBUF_SIZE, "%s", l->err_buf);
+ 		goto bad;
+             }
+             if (libnet_open_link(l) == -1)
+             {
+-                snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
++                snprintf(err_buf, LIBNET_ERRBUF_SIZE, "%s", l->err_buf);
+                 goto bad;
+             }
+             break;
+@@ -98,7 +98,7 @@
+         case LIBNET_RAW4_ADV:
+             if (libnet_open_raw4(l) == -1)
+             {
+-                snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
++                snprintf(err_buf, LIBNET_ERRBUF_SIZE, "%s", l->err_buf);
+                 goto bad;
+             }
+             break;
+@@ -106,7 +106,7 @@
+         case LIBNET_RAW6_ADV:
+             if (libnet_open_raw6(l) == -1)
+             {
+-                snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
++                snprintf(err_buf, LIBNET_ERRBUF_SIZE, "%s", l->err_buf);
+                 goto bad;
+             }
+             break;

Attachment: signature.asc
Description: Digital signature

Reply via email to