mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-04-05 20:55:01 +08:00
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:
parent
7fdc8e2e86
commit
cbd6eebecc
@ -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.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user