[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/netpbm/devel netpbm-10.27-pnmcolormap.patch, NONE, 1.1 netpbm.spec, 1.35, 1.36



Author: jnovy

Update of /cvs/dist/rpms/netpbm/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv697

Modified Files:
	netpbm.spec 
Added Files:
	netpbm-10.27-pnmcolormap.patch 
Log Message:

fix segfault in pnmcolormap what makes latex2html/ppmquant unusable (#158665, #139111)



netpbm-10.27-pnmcolormap.patch:
 libpammap.c |    1 -
 1 files changed, 1 deletion(-)

--- NEW FILE netpbm-10.27-pnmcolormap.patch ---
--- netpbm-10.27/lib/libpammap.c.fixes	2005-05-31 11:00:19.022565400 +0200
+++ netpbm-10.27/lib/libpammap.c	2005-05-31 14:13:54.757705248 +0200
@@ -368,7 +368,6 @@
             pm_error("size %u is too big for arithmetic", size);
         else {
             void * pool;
-            tupletable retval;
             unsigned int i;
     
             pool = malloc(mainTableSize + size * tupleIntSize);


Index: netpbm.spec
===================================================================
RCS file: /cvs/dist/rpms/netpbm/devel/netpbm.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- netpbm.spec	16 May 2005 09:27:12 -0000	1.35
+++ netpbm.spec	31 May 2005 12:38:43 -0000	1.36
@@ -1,7 +1,7 @@
 Summary: A library for handling different graphics file formats.
 Name: netpbm
 Version: 10.27
-Release: 3
+Release: 4
 License: freeware
 Group: System Environment/Libraries
 URL: http://netpbm.sourceforge.net/
@@ -21,6 +21,7 @@
 Patch12: netpbm-10.27-bmptopnm.patch
 Patch13: netpbm-10.27-libpm.patch
 Patch14: netpbm-10.27-pnmtojpeg.patch
+Patch15: netpbm-10.27-pnmcolormap.patch
 Buildroot: %{_tmppath}/%{name}-root
 BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl
 Obsoletes: libgr
@@ -78,6 +79,7 @@
 %patch12 -p1 -b .bmptopnm
 %patch13 -p1 -b .libpm
 %patch14 -p1 -b .pnmtojpeg
+%patch15 -p1 -b .pnmcolormap
 
 ##mv shhopt/shhopt.h shhopt/pbmshhopt.h
 ##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
@@ -175,6 +177,10 @@
 %{_mandir}/man5/*
 
 %changelog
+* Tue May 31 2005 Jindrich Novy <jnovy redhat com> 10.27-4
+- fix segfault in pnmcolormap what makes latex2html/ppmquant
+  unusable (#158665, #139111)
+
 * Mon May 16 2005 Jindrich Novy <jnovy redhat com> 10.27-3
 - fix ppmdither leak caused by bug in security patch (#157757)
 - drop gcc34 patch


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]