MDL-42023 EditPDF: Fix stack overflow when parsing nonsense pdf.