Skip to content

PDF with trailing null characters after EOF raises MalformedPDFError #585

@raldred

Description

@raldred

I've got a PDF which a customer uploaded which looks to have been created by Atos using Fonet.
It appears to have a bunch of null characters after %%EOF so it raises

PDF::Reader::MalformedPDFError (PDF does not contain EOF marker)

Is there anyway to support this sort of file?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions