To reproduce:
Code: Select all
convert c2d64390 png:/dev/null
Code: Select all
Aborted (core dumped)
It will also take you around 6GB of free RAM to run this.
Output from /usr/bin/time -v:
Code: Select all
Command terminated by signal 6
Command being timed: "/home/jodicun/opt/ImageMagick-2014-12-19/utilities/convert /home/jodicun/Dropbox/im/c2d64390 png:/dev/null"
User time (seconds): 24.58
System time (seconds): 6.05
Percent of CPU this job got: 98%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:31.08
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 6365868
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 1706813
Voluntary context switches: 53
Involuntary context switches: 605
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
BT:
Code: Select all
#0 0x00007ffff6e87bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0 0x00007ffff6e87bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff6e8afc8 in __GI_abort () at abort.c:89
#2 0x00007ffff78b4171 in MagickSignalHandler (signal_number=6) at magick/magick.c:1171
#3 <signal handler called>
#4 0x00007ffff6e87bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5 0x00007ffff6e8afc8 in __GI_abort () at abort.c:89
#6 0x00007ffff78b4171 in MagickSignalHandler (signal_number=24) at magick/magick.c:1171
#7 <signal handler called>
#8 0x00007ffff7990b95 in ScaleCharToQuantum (value=0 '\000') at ./magick/quantum-private.h:366
#9 ReadDXT1 (image=0xd79b850, dds_info=0x7fffffff6350, exception=0x604990) at coders/dds.c:1984
#10 0x00007ffff798fdd8 in ReadDDSImage (image_info=0x60e050, exception=0x604990) at coders/dds.c:1865
#11 0x00007ffff780d8b8 in ReadImage (image_info=image_info@entry=0x608ea0, exception=exception@entry=0x604990) at magick/constitute.c:547
#12 0x00007ffff780e953 in ReadImages (image_info=image_info@entry=0x608ea0, exception=exception@entry=0x604990) at magick/constitute.c:853
#13 0x00007ffff7477948 in ConvertImageCommand (image_info=0x608ea0, argc=3, argv=0x604010, metadata=0x0, exception=0x604990) at wand/convert.c:622
#14 0x00007ffff74e5a98 in MagickCommandGenesis (image_info=image_info@entry=0x604b10, command=0x400880 <ConvertImageCommand@plt>, argc=argc@entry=3, argv=argv@entry=0x7fffffffe098, metadata=metadata@entry=0x0, exception=exception@entry=0x604990) at wand/mogrify.c:168
#15 0x0000000000400907 in ConvertMain (argv=0x7fffffffe098, argc=3) at utilities/convert.c:81
#16 main (argc=3, argv=0x7fffffffe098) at utilities/convert.c:92
exe = '/home/jodicun/opt/ImageMagick-2014-12-19/utilities/.libs/lt-convert ./fuzzer141'
System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
ImageMagick 6 compiled from SVN checkout 20141227.
Found with American Fuzzy Lop ( http://lcamtuf.coredump.cx/afl/ )