[Pkg-phototools-devel] Bug#787647: optipng: opng_reduce_palette_bits: Assertion `src_bit_depth == dest_bit_depth' failed.

Jakub Wilk jwilk at debian.org
Wed Jun 3 18:53:44 UTC 2015


Package: optipng
Version: 0.7.5-1
Usertags: afl

optipng crashes with failed assertion on the attached file:

$ optipng crash.png
** Processing: crash.png
Warning: Can't read the input file or unexpected end of file
24x32 pixels, 1 bit/pixel, 4 colors in palette, interlaced
optipng: opngreduc.c:697: opng_reduce_palette_bits: Assertion `src_bit_depth == dest_bit_depth' failed.
Aborted


This bug was found using American fuzzy lop:
http://lcamtuf.coredump.cx/afl/

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages optipng depends on:
ii  libc6       2.19-18
ii  libpng12-0  1.2.50-2+b2
ii  zlib1g      1:1.2.8.dfsg-2+b1

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.png
Type: image/png
Size: 268 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20150603/960c74a1/attachment.png>


More information about the Pkg-phototools-devel mailing list