Created attachment 12815 [details] reproducer Hello, there is a stack overflow after an infinite loop triggered from a crafted file. I'm attaching: 1) The reproducer; 2) The stacktrace provided by Address Sanitizer; Feel free to edit the summary if gives a better description of the issue.
Created attachment 12816 [details] stacktrace bzipped
I can confirm that address sanitizer is complaining when I'm using the following command (please note that mutool draw -s t ./reproducer.pdf works fine!): git checkout 1.9a && git submodule update --init && make -j10 nuke && LDFLAGS=-fsanitize=address make -j10 CC=clang-3.8 XCFLAGS=-fsanitize=address && ./build/debug/mutool info ./reproducer.pdf The same issue manifests itself on master (currently 80ba0e2).
The command to reproduce the issue is: # mutool info $REPRODUCER
Fixed in comment fdf71862fe929b4560e9f632d775c50313d6ef02
*** Bug 697017 has been marked as a duplicate of this bug. ***
*** Bug 697016 has been marked as a duplicate of this bug. ***