[Poppler-bugs] [Bug 105970] index -1 out of bounds in XRef::constructXRef

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 15 23:28:25 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105970

pdknsk <pdknsk at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #5 from pdknsk <pdknsk at gmail.com> ---
I'm using the latest code. I can also reproduce it with poppler-render.

$ cpp/tests/poppler-render poppler-105970.pdf -o tmp.png

poppler/poppler/XRef.cc:943:21: runtime error: index -1 out of bounds for type
'char [256]'
    #0 0x612e32 in XRef::constructXRef(bool*, bool)
poppler/poppler/XRef.cc:943:21
    #1 0x61185d in XRef::XRef(BaseStream*, long long, long long, bool*, bool)
poppler/poppler/XRef.cc:324:18
    #2 0x59fec6 in PDFDoc::setup(GooString*, GooString*)
poppler/poppler/PDFDoc.cc:282:14
    #3 0x59fb0a in PDFDoc::PDFDoc(GooString*, GooString*, GooString*, void*)
poppler/poppler/PDFDoc.cc:182:8
    #4 0x403dc1 in poppler::document_private::document_private(GooString*,
std::string const&, std::string const&) poppler/cpp/poppler-document.cpp:77:15
    #5 0x409677 in poppler::document::load_from_file(std::string const&,
std::string const&, std::string const&)
poppler/cpp/poppler-document.cpp:1047:33
    #6 0x401a42 in main poppler/cpp/tests/poppler-render.cpp:84:44

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180415/7205b1f4/attachment.html>


More information about the Poppler-bugs mailing list