Package: pngquant
Version: 1.0-4
Severity: normal
Tags: patch pending

[Replace XX with correct value]
Dear maintainer,

I've prepared an NMU for pngquant (versioned as 1.0-4.1) and
uploaded it to DELAYED/XX. Please feel free to tell me if I
should delay it longer.

Regards.
diffstat for pngquant_1.0-4 pngquant_1.0-4.1

 pngquant-1.0/debian/changelog |    8 ++++++++
 pngquant.c                    |    6 +++---
 rwpng.c                       |    3 ++-
 3 files changed, 13 insertions(+), 4 deletions(-)

diff -u pngquant-1.0/debian/changelog pngquant-1.0/debian/changelog
--- pngquant-1.0/debian/changelog
+++ pngquant-1.0/debian/changelog
@@ -1,3 +1,11 @@
+pngquant (1.0-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS: fix format security (Closes: #643459)
+  * Fix FTBFS with libpng 1.5: explicit include zlib.h (Closes: #641891)
+
+ -- Simon Paillard <spaill...@debian.org>  Fri, 18 Nov 2011 00:04:47 +0100
+
 pngquant (1.0-4) unstable; urgency=low
 
   * Fix watch file (Closes: #450009);
only in patch2:
unchanged:
--- pngquant-1.0.orig/pngquant.c
+++ pngquant-1.0/pngquant.c
@@ -258,7 +258,7 @@
               VERSION);
             rwpng_version_info();
             fprintf(stderr, "\n");
-            fprintf(stderr, pq_usage);
+            fprintf(stderr, "%s",pq_usage);
             fflush(stderr);
             return 1;
         }
@@ -272,12 +272,12 @@
               VERSION );
             rwpng_version_info();
             fprintf( stderr, "\n" );
-            fprintf( stderr, pq_usage );
+            fprintf( stderr, "%s", pq_usage );
             fflush( stderr );
             return 1;
         }
         if ( sscanf( argv[argn], "%d", &reqcolors ) != 1 ) {
-            fprintf( stderr, pq_usage );
+            fprintf( stderr,"%s", pq_usage );
             fflush( stderr );
             return 1;
         }
only in patch2:
unchanged:
--- pngquant-1.0.orig/rwpng.c
+++ pngquant-1.0/rwpng.c
@@ -32,7 +32,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "png.h"        /* libpng header; includes zlib.h */
+#include "png.h"        /* libpng header */
+#include "zlib.h"
 #include "rwpng.h"      /* typedefs, common macros, public prototypes */
 
 /* future versions of libpng will provide this macro: */

Reply via email to