DescriptionMove maxNumDataBytes and maxNumEcBytes calculation to fix crash
The blocks.Add will std::move the unique_ptrs, so the std::max calculations
need to go before. Without this change, pdfium_test will crash when trying
to render test/barcode_test.pdf with XFA enabled.
Tested that after this change, barcode_test.pdf is rendered without crashing.
Committed: https://pdfium.googlesource.com/pdfium/+/fc9b11358a47e1dd9b257263c9457d7e53b9dd10
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|