* Hendra Gunadi <
h3n...@gmail.com>, 2018-05-24, 22:12:
>Just in case anyone is interested to play around, find attached for the
>input file and a simple program wrapper which exhibited this behavior.
>This program is taken from afl-tmin.c and I cut down the unrelated
>things to the "minimal working case". The pdftotext is obtained from
>poppler-0.64.0 In my computer, to compile I will need the alloc-inl.h,
>config.h, debug.h, types.h, and from afl in the same directory, then
>
>gcc -o test test.c
>./test pdftotext crash_input
I can't reproduce it here:
$ ./test pdftotext crash_input
Syntax Error (7031): Dictionary key must be a name object
Syntax Error (7044): Dictionary key must be a name object
Syntax Error (7046): Dictionary key must be a name object
[snip - more errors]
Syntax Error (2487): Dictionary key must be a name object
Syntax Error (2504): Dictionary key must be a name object
Syntax Error (2638): Unknown filter ''
Out of memory
exit status 256 16642
This was tested with:
* Debian 9.4 (stretch) on amd64;
* Poppler 0.64.0 built from source (but against distro libs) with
afl-gcc;
* AFL 2.36b from distro package.
--
Jakub Wilk