If I understand correctly this report, it boils down to this command: echo AAAAAAAAAAAAAAAAAAAAAAAA | gifclrmp -hAAAAAAAA -i
segfaulting. Yes, this is reproducible on jessie, stretch and sid. It can actually be narrowed down to: gifclrmp -i I can debug it with: sudo apt-get install gdb gcc libgif-dev cc -g -I . -o gifclrmp getarg.c gifclrmp.c qprintf.c -lgif -lm gdb gifclrmp r -i this is the output of gdb: Program received signal SIGSEGV, Segmentation fault. rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37 and this is the stack trace: Starting program: /root/gifclrmp -i Program received signal SIGSEGV, Segmentation fault. rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37 37 ../sysdeps/x86_64/rawmemchr.S: File o directory non esistente. (gdb) where #0 rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37 #1 0x00007ffff75a43a2 in _IO_str_init_static_internal (sf=sf@entry=0x7fffffffdfe0, ptr=ptr@entry=0x0, size=size@entry=0, pstart=pstart@entry=0x0) at strops.c:41 #2 0x00007ffff7593567 in __GI___isoc99_vsscanf (string=0x0, format=0x403b72 "%d", args=args@entry=0x7fffffffe108) at isoc99_vsscanf.c:41 #3 0x00007ffff7593507 in __isoc99_sscanf (s=<optimized out>, format=<optimized out>) at isoc99_sscanf.c:31 #4 0x00000000004019c4 in GAGetParmeters (Parameters=0x7fffffffe6e0, ParamCount=0x7fffffffea04, CtrlStrCopy=0x7fffffffe32c "!d h%- GifFile!*s", Option=0x7fffffffeeb1 "-i", argv_end=0x7fffffffecc8, argv=0x7fffffffe2b0) at getarg.c:311 #5 0x0000000000401914 in GAUpdateParameters (Parameters=0x7fffffffe6e0, ParamCount=0x7fffffffea04, Option=0x7fffffffeeb1 "-i", CtrlStrCopy=0x7fffffffe2e0 "gifclrmp v%- s%- t%-TranslationFile!s l%-ColorMapFile!s g%-Gamma!F Image#!d h%- GifFile!*s", CtrlStr=0x404118 "gifclrmp v%- s%- t%-TranslationFile!s l%-ColorMapFile!s g%-Gamma!F i%-Image#!d h%- GifFile!*s", argv_end=0x7fffffffecc8, argv=0x7fffffffe2b0) at getarg.c:290 #6 0x00000000004014ef in GAGetArgs (argc=2, argv=0x7fffffffecd0, CtrlStr=0x404118 "gifclrmp v%- s%- t%-TranslationFile!s l%-ColorMapFile!s g%-Gamma!F i%-Image#!d h%- GifFile!*s") at getarg.c:186 #7 0x0000000000402b4b in main (argc=2, argv=0x7fffffffecb8) at gifclrmp.c:61 (gdb)
signature.asc
Description: OpenPGP digital signature