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

Bug#384773: marked as done (libungif-bin: giftext segfault on image with no global colour map)



Your message dated Tue, 29 Aug 2006 09:02:15 -0700
with message-id <E1GI62Z-0003AR-Og@spohr.debian.org>
and subject line Bug#384773: fixed in libungif4 4.1.4-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libungif-bin
Severity: normal
Tags: patch

GIFs don't have to have a global colour map, it can be absent and supplied
in a per-image colour map.  This causes utils/giftext to segfault.
Christian Holler aka decoder_at_own-hero_dot_net discovered this problem
in GIFs comprising part of image-only spam.  giftext is used in his
spamassassin plugin to decode and catch this type of spam.

I'm forwarding his patch so that it can be included in Debian and Debian
users can have the benefit of it.  Thanks and acknowledgements are due
to him.

Nick Leverton

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (60, 'stable'), (3, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-16bpo1.20060720.0-k7-njl
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
*** giftext.c.orig	2006-08-21 15:41:47.000000000 -0400
--- giftext.c	2006-08-21 15:41:55.000000000 -0400
***************
*** 135,141 ****
  	       GifFileName, GifFile->SWidth, GifFile->SHeight);
  	printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n",
  	       GifFile->SColorResolution,
! 	       GifFile->SColorMap->BitsPerPixel,
  	       GifFile->SBackGroundColor);
  	if (GifFile->SColorMap)
  	    printf("\tHas Global Color Map.\n\n");
--- 135,141 ----
  	       GifFileName, GifFile->SWidth, GifFile->SHeight);
  	printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n",
  	       GifFile->SColorResolution,
! 	       GifFile->SColorMap?GifFile->SColorMap->BitsPerPixel:0,
  	       GifFile->SBackGroundColor);
  	if (GifFile->SColorMap)
  	    printf("\tHas Global Color Map.\n\n");

--- End Message ---
--- Begin Message ---
Source: libungif4
Source-Version: 4.1.4-3

We believe that the bug you reported is fixed in the latest version of
libungif4, which is due to be installed in the Debian FTP archive:

libungif-bin_4.1.4-3_i386.deb
  to pool/main/libu/libungif4/libungif-bin_4.1.4-3_i386.deb
libungif4-dev_4.1.4-3_i386.deb
  to pool/main/libu/libungif4/libungif4-dev_4.1.4-3_i386.deb
libungif4_4.1.4-3.diff.gz
  to pool/main/libu/libungif4/libungif4_4.1.4-3.diff.gz
libungif4_4.1.4-3.dsc
  to pool/main/libu/libungif4/libungif4_4.1.4-3.dsc
libungif4g_4.1.4-3_i386.deb
  to pool/main/libu/libungif4/libungif4g_4.1.4-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 384773@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <vela@debian.org> (supplier of updated libungif4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 29 Aug 2006 17:10:59 +0200
Source: libungif4
Binary: libungif4-dev libungif4g libungif-bin
Architecture: source i386
Version: 4.1.4-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 libungif-bin - programs to convert GIF images
 libungif4-dev - shared library for GIF images (development files)
 libungif4g - shared library for GIF images (runtime lib)
Closes: 384773
Changes: 
 libungif4 (4.1.4-3) unstable; urgency=low
 .
   * QA upload.
   * Convert to dpatch.
   * 03_no_global_color_map.dpatch: Fix segfault in utils/giftext for
     GIFs with no global color map.  Thanks to Christian Holler for the
     patch and to Nick Leverton for forwarding it.  Closes: #384773.
   * Conforms to Standards version 3.7.2.
Files: 
 4bc133b77d0c99ad225a1a569695b369 630 graphics optional libungif4_4.1.4-3.dsc
 f0bc39bda2052b6cf0e858b7fa7df3e5 51213 graphics optional libungif4_4.1.4-3.diff.gz
 4dc7dd6adeeff071c3b27bde11e48f30 58062 libs optional libungif4g_4.1.4-3_i386.deb
 3e951123fbcf0c501ca29eb280c25a26 40740 libdevel optional libungif4-dev_4.1.4-3_i386.deb
 121aa605663da52d28406c369e7297a0 190696 graphics optional libungif-bin_4.1.4-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE9GLyxBYivKllgY8RAivjAKC0xZ5q1xaeyCSLTkEb7A4l+iH+BgCgr1OD
slNuaO0Kj8+a7LhvPOwqHmo=
=fibM
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: