Files
serenity/Tests/LibPDF/complex.pdf
Nico Weber dcef55a6a8 LibPDF: Tolerate first object being an indirect null object
For the test, I incremented all object numbers and object references
in complex.pdf by one and then added

    1 0 obj
    null
    endobj

right after the header, then I ran

    mutool clean Tests/LibPDF/complex.pdf Tests/LibPDF/complex.pdf

to fix up offsets.

With this, we can decode the PDF attached to
https://github.com/mozilla/pdf.js/issues/7802
2025-11-28 07:57:18 -05:00

1.7 KiB