mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 04:31:25 +08:00
Increase FlateFilter multiplier when preventing malicious OOM and fix #1125
This commit is contained in:
parent
7ff58893af
commit
f1923fcbcd
@ -112,8 +112,9 @@
|
||||
{
|
||||
AsciiHexDecodeFilter => 0.5,
|
||||
Ascii85Filter => 0.8,
|
||||
FlateFilter or RunLengthFilter => 3,
|
||||
RunLengthFilter => 1.5,
|
||||
LzwFilter => 2,
|
||||
FlateFilter => 10,
|
||||
_ => 1000
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user