diff --git a/src/UglyToad.PdfPig/Parser/Parts/BruteForceSearcher.cs b/src/UglyToad.PdfPig/Parser/Parts/BruteForceSearcher.cs index ee5abca5..2dda4ecc 100644 --- a/src/UglyToad.PdfPig/Parser/Parts/BruteForceSearcher.cs +++ b/src/UglyToad.PdfPig/Parser/Parts/BruteForceSearcher.cs @@ -46,7 +46,7 @@ do { - if (loopProtection > 1_000_000) + if (loopProtection > 10_000_000) { throw new PdfDocumentFormatException("Failed to brute-force search the file due to an infinite loop."); }