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

Reply via email to