rpms/netpbm/devel netpbm-fiasco-overflow.patch, NONE, 1.1 netpbm.spec, 1.154, 1.155
Jindrich Novy
jnovy at fedoraproject.org
Wed Jan 27 10:45:52 UTC 2010
Author: jnovy
Update of /cvs/pkgs/rpms/netpbm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22745
Modified Files:
netpbm.spec
Added Files:
netpbm-fiasco-overflow.patch
Log Message:
* Wed Jan 27 2010 Jindrich Novy <jnovy at redhat.com> 10.47.09-2
- fix buffer overflow in pnmtofiasco
netpbm-fiasco-overflow.patch:
image.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE netpbm-fiasco-overflow.patch ---
diff -up netpbm-10.47.09/converter/other/fiasco/lib/image.h.fiasco-overflow netpbm-10.47.09/converter/other/fiasco/lib/image.h
--- netpbm-10.47.09/converter/other/fiasco/lib/image.h.fiasco-overflow 2010-01-25 09:00:48.000000000 +0100
+++ netpbm-10.47.09/converter/other/fiasco/lib/image.h 2010-01-27 10:29:48.000000000 +0100
@@ -29,7 +29,7 @@ typedef struct image
* Image data
*/
{
- char id [7];
+ char id [8];
unsigned reference_count;
unsigned width; /* Width of the image */
unsigned height; /* Height of the image */
Index: netpbm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/devel/netpbm.spec,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -p -r1.154 -r1.155
--- netpbm.spec 25 Jan 2010 08:42:36 -0000 1.154
+++ netpbm.spec 27 Jan 2010 10:45:52 -0000 1.155
@@ -1,7 +1,7 @@
Summary: A library for handling different graphics file formats
Name: netpbm
Version: 10.47.09
-Release: 1%{?dist}
+Release: 2%{?dist}
# See copyright_summary for details
License: BSD and GPLv2 and IJG and MIT and Public Domain
Group: System Environment/Libraries
@@ -27,6 +27,7 @@ Patch13: netpbm-glibc.patch
Patch14: netpbm-svgtopam.patch
Patch15: netpbm-docfix.patch
Patch16: netpbm-ppmfadeusage.patch
+Patch17: netpbm-fiasco-overflow.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex
BuildRequires: libX11-devel, python, jasper-devel
@@ -84,6 +85,7 @@ netpbm-progs. You'll also need to insta
%patch14 -p1 -b .svgtopam
%patch15 -p1 -b .docfix
%patch16 -p1 -b .ppmfadeusage
+%patch17 -p1 -b .fiasco-overflow
sed -i 's/STRIPFLAG = -s/STRIPFLAG =/g' config.mk.in
@@ -212,6 +214,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/netpbm/
%changelog
+* Wed Jan 27 2010 Jindrich Novy <jnovy at redhat.com> 10.47.09-2
+- fix buffer overflow in pnmtofiasco
+
* Mon Jan 25 2010 Jindrich Novy <jnovy at redhat.com> 10.47.09-1
- update to 10.47.09, fixes occassional crash in pamtosvg
- fix documentation
More information about the scm-commits
mailing list