Checks whether the PDF contains undesired characters after the end-of-file marker EOF.
If this is the case, the PDF is malformed. The last line of a PDF should only contain the EOF marker.
Check for unreadable data in front of the PDF header signature