convert - IM 6 Beta - 114d78c2 - colormap-private.h
Posted: 2014-12-19T20:39:09-07:00
Source file:
https://www.dropbox.com/s/3rzbe4v0sj3nvyy/114d78c2?dl=0
To reproduce:
Output:
System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Software: SVN checkout 20141219 - ImageMagick-6
Discovered on 6.9.0-1 Beta 20141217
Found with American Fuzzy Lop ( http://lcamtuf.coredump.cx/afl/ )
https://www.dropbox.com/s/3rzbe4v0sj3nvyy/114d78c2?dl=0
To reproduce:
Code: Select all
convert 114d78c2 png:/dev/null
Code: Select all
Aborted (core dumped)
Code: Select all
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/jodicun/opt/ImageMagick-2014-12-19/utilities/.libs/lt-convert /home/jodic'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007ffff6f8cbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#0 0x00007ffff6f8cbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff6f8ffc8 in __GI_abort () at abort.c:89
#2 0x00007ffff79604f1 in MagickSignalHandler (signal_number=6) at magick/magick.c:1171
#3 <signal handler called>
#4 0x00007ffff6f8cbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5 0x00007ffff6f8ffc8 in __GI_abort () at abort.c:89
#6 0x00007ffff79604f1 in MagickSignalHandler (signal_number=11) at magick/magick.c:1171
#7 <signal handler called>
#8 malloc_consolidate (av=av@entry=0x7ffff7315760 <main_arena>) at malloc.c:4149
#9 0x00007ffff6fd6878 in _int_malloc (av=0x7ffff7315760 <main_arena>, bytes=6499) at malloc.c:3423
#10 0x00007ffff6fd9230 in __GI___libc_malloc (bytes=6499) at malloc.c:2891
#11 0x00007ffff79e1dfc in ConfigureFileToStringInfo (filename=filename@entry=0x7fffffff04e0 "/home/jodicun/.config/ImageMagick/locale.xml") at magick/string.c:613
#12 0x00007ffff795bfb7 in GetLocaleOptions (filename=filename@entry=0x7ffff7ab96c2 "locale.xml", exception=exception@entry=0x648150) at magick/locale.c:831
#13 0x00007ffff795c1ce in AcquireLocaleSplayTree (filename=0x7ffff7ab96c2 "locale.xml", exception=0x648150, locale=0x637180 "en_US.UTF-8") at magick/locale.c:208
#14 IsLocaleTreeInstantiated (exception=0x648150) at magick/locale.c:941
#15 GetLocaleInfo_ (tag=0x7fffffff1580 "Exception/Corrupt/Image/Error/InvalidColormapIndex/", exception=0x648150) at magick/locale.c:523
#16 0x00007ffff795c7fc in GetLocaleMessage (tag=tag@entry=0x7fffffff25b0 "Exception/Corrupt/Image/Error/InvalidColormapIndex") at magick/locale.c:764
#17 0x00007ffff7924681 in GetLocaleExceptionMessage (severity=severity@entry=CorruptImageError, tag=0x7ffff7aaf6e6 "InvalidColormapIndex") at magick/exception.c:591
#18 0x00007ffff7925117 in ThrowMagickExceptionList (exception=0x6445d8, module=0x7ffff7aaf6fb "./magick/colormap-private.h", function=0x7ffff7b08030 <__func__.10809> "ConstrainColormapIndex", line=34, severity=CorruptImageError, tag=<optimized out>, format=format@entry=0x7ffff7ab0916 "`%s'", operands=operands@entry=0x7fffffff6668) at magick/exception.c:1021
#19 0x00007ffff7924ca7 in ThrowMagickException (exception=exception@entry=0x6445d8, module=module@entry=0x7ffff7aaf6fb "./magick/colormap-private.h", function=function@entry=0x7ffff7b08030 <__func__.10809> "ConstrainColormapIndex", line=line@entry=34, severity=severity@entry=CorruptImageError, tag=tag@entry=0x7ffff7aaf6e6 "InvalidColormapIndex", format=format@entry=0x7ffff7ab0916 "`%s'") at magick/exception.c:1058
#20 0x00007ffff7a7adac in ConstrainColormapIndex (index=<optimized out>, image=0x641360) at ./magick/colormap-private.h:34
#21 ReadRLEImage (image_info=0x60e050, exception=0x604990) at coders/rle.c:454
#22 0x00007ffff78d2cd8 in ReadImage (image_info=image_info@entry=0x608ea0, exception=exception@entry=0x604990) at magick/constitute.c:547
#23 0x00007ffff78d3d73 in ReadImages (image_info=image_info@entry=0x608ea0, exception=exception@entry=0x604990) at magick/constitute.c:853
#24 0x00007ffff7570168 in ConvertImageCommand (image_info=0x608ea0, argc=3, argv=0x604010, metadata=0x0, exception=0x604990) at wand/convert.c:622
#25 0x00007ffff75c1fd8 in MagickCommandGenesis (image_info=image_info@entry=0x604b10, command=0x400830 <ConvertImageCommand@plt>, argc=argc@entry=3, argv=argv@entry=0x7fffffffe5b8, metadata=metadata@entry=0x0, exception=exception@entry=0x604990) at wand/mogrify.c:168
#26 0x0000000000400907 in ConvertMain (argv=0x7fffffffe5b8, argc=3) at utilities/convert.c:81
#27 main (argc=3, argv=0x7fffffffe5b8) at utilities/convert.c:92
System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Software: SVN checkout 20141219 - ImageMagick-6
Discovered on 6.9.0-1 Beta 20141217
Found with American Fuzzy Lop ( http://lcamtuf.coredump.cx/afl/ )