We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c991d commit 978de7dCopy full SHA for 978de7d
PdfSharpCore/Pdf.IO/Parser.cs
@@ -1012,7 +1012,7 @@ internal PdfTrailer ReadTrailer(PdfReadAccuracy accuracy)
1012
// Implementation note 18 Appendix H:
1013
// Acrobat viewers require only that the %%EOF marker appear somewhere within the last 1024 bytes of the file.
1014
int idx;
1015
- if (length < 1030)
+ if (length <= 1030)
1016
{
1017
// Reading the final 30 bytes should work for all files. But often it does not.
1018
string trail = _lexer.ReadRawString(length - 31, 30); //lexer.Pdf.Substring(length - 30);
0 commit comments