Package: tcc Version: 0.9.27~git20161217.cd9514ab-3 TCC crashes on the attached file:
$ tcc crash-i386-gen.c Segmentation fault GDB says it's a null pointer dereference: Program received signal SIGSEGV, Segmentation fault. 0x080e7ee3 in g (c=<optimized out>) at ./i386-gen.c:104 104 if (ind1 > cur_text_section->data_allocated) (gdb) print cur_text_section $1 = (Section *) 0x0 Found using American fuzzy lop: http://lcamtuf.coredump.cx/afl/ -- System Information: Architecture: i386 Versions of packages tcc depends on: ii libc6 2.24-12 Versions of packages tcc recommends: ii libc6-dev [libc-dev] 2.24-12 -- Jakub Wilk
i=!i+0;

