Package: netpbm
Version: 2:10.0-11.1
Severity: normal
Tags: patch

gif2pnm fails to read gif files in which an LZW code is split across
three datablocks, the bug also exists in the gimp, gif2png and imagemagick 
(which I all reported only upstream, since the problem is not debian specific), 
giflib doesn't have the bug.

Because of the desync with upstream I report this bug to Debian.

For more explanation and a test case see:

http://bugzilla.gnome.org/show_bug.cgi?id=535888

here is the patch:
--- giftopnm.c.old      2008-06-01 10:41:52.000000000 +0200
+++ giftopnm.c  2008-06-01 10:35:26.000000000 +0200
@@ -391,7 +391,7 @@
         done = FALSE;
         retval = 0;
     } else {
-        if ( (curbit+codeSize) >= lastbit) {
+        while ( (curbit+codeSize) >= lastbit) {
             unsigned int count;
             unsigned int assumed_count;
             bool eof;

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-abl (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netpbm depends on:
ii  libc6                  2.7-11            GNU C Library: Shared libraries
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libnetpbm10            2:10.0-11.1       Shared libraries for netpbm
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libtiff4               3.8.2-8           Tag Image File Format (TIFF) libra
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages netpbm recommends:
ii  ghostscript-x [gs-aladdi 8.62.dfsg.1-2.1 The GPL Ghostscript PostScript/PDF
ii  gs                       8.62.dfsg.1-2.1 Transitional package

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to