[printing] Handle large page counts in PrintJobWorker::GetSettingsWithUI
This CL checks the case that |document_page_count| is bigger than |kMaxPageCount| at PrintJobWorker::GetSettingsWithUI() to fix the fuzzer issue from the ipc_fuzzer_replay and the ipcdump. On the normal flow, the renderer doesn't call GetPrintSettingsFromUser() if |expected_page_count| is bigger than |kMaxPageCount| at PrintRenderFrameHelper::Print(). Bug: 1130456 Change-Id: Ic1c91399eba2c794240744320b8d8a3ce5eaeb85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421849 Commit-Queue: Julie Kim <jkim@igalia.com> Reviewed-by:Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#809236}
Showing
Please register or sign in to comment