Accepting request 32502 from home:rguenther:branches:graphics

Copy from home:rguenther:branches:graphics/netpbm via accept of submit request 32502 revision 2.
Request was accepted with message:
Thanks!

OBS-URL: https://build.opensuse.org/request/show/32502
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=13
This commit is contained in:
Petr Gajdos 2010-02-15 08:20:38 +00:00 committed by Git OBS Bridge
parent 3c7ed763fc
commit f63e76a470
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: converter/other/fiasco/lib/image.c
===================================================================
--- converter/other/fiasco/lib/image.c.orig 2006-08-19 05:12:28.000000000 +0200
+++ converter/other/fiasco/lib/image.c 2010-02-13 23:50:44.000000000 +0100
@@ -200,7 +200,7 @@ alloc_image (unsigned width, unsigned he
image->format = format;
image->reference_count = 1;
- strcpy (image->id, "IFIASCO");
+ strncpy (image->id, "IFIASCO", 7);
for (band = first_band (color); band <= last_band (color); band++)
if (format == FORMAT_4_2_0 && band != Y)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 13 23:57:33 CET 2010 - rguenther@suse.de
- fix harmless buffer-overflow to fix build with GCC 4.5
-------------------------------------------------------------------
Fri Dec 18 22:20:11 CET 2009 - jengelh@medozas.de

View File

@ -51,6 +51,7 @@ Patch16: netpbm-%{version}-pamtouil.patch
Patch17: netpbm-%{version}-pnmtopng-transparent.patch
Patch19: netpbm-%{version}-pamscale.patch
Patch20: netpbm-%{version}-missing-file-close.patch
Patch21: netpbm-%{version}-gcc45.patch
Url: http://netpbm.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -120,6 +121,7 @@ rm -rf libtiff
%patch17
%patch19
%patch20
%patch21
rm -rf converter/other/jpeg2000/libjasper/include #make sure the internal libjasper is not used
mkdir -p pnmtopalm
cd pnmtopalm