2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-09 23:00:57 +00:00

Merge pull request #1254 from m-holger/fuzz

Adjust qpdf_fuzzer warnings limit
This commit is contained in:
m-holger 2024-07-28 01:51:54 +01:00 committed by GitHub
commit bbe732c015
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ FuzzHelper::getQpdf()
auto is = auto is =
std::shared_ptr<InputSource>(new BufferInputSource("fuzz input", &this->input_buffer)); std::shared_ptr<InputSource>(new BufferInputSource("fuzz input", &this->input_buffer));
auto qpdf = QPDF::create(); auto qpdf = QPDF::create();
qpdf->setMaxWarnings(500); qpdf->setMaxWarnings(200);
qpdf->processInputSource(is); qpdf->processInputSource(is);
return qpdf; return qpdf;
} }