up brute force range to 10mib #233

previously this was 1mib but the search range was exceeded in a file with over 1 million bytes of xref table.
This commit is contained in:
Eliot Jones 2020-11-26 21:23:40 -04:00
parent 7fdc8e2e86
commit cbd6eebecc

View File

@ -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.");
}