empira / PDFsharp-1.5

A .NET library for processing PDF
MIT License
1.28k stars 588 forks source link

Parser bug fix: xreftable entry with both generation and position = 0 #123

Closed iansinke closed 4 years ago

iansinke commented 4 years ago

Certain badly formed PDFs (particularly those from HeinOnline.com, see attached PDF) cause a parser crash because they contain incorrect xreftable entries. This fix ignores said entries.

JosephLReutimanDefectiveI.pdf