diff options
author | Lei Zhang <thestig@chromium.org> | 2024-04-30 17:46:17 +0000 |
---|---|---|
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-04-30 17:46:17 +0000 |
commit | 155028a48f5f5930da4cec2b23a17dc03dc869b7 (patch) | |
tree | d46b4ae745cf66c2fc205f864400e2d86891e8fe /codereview.settings | |
parent | ff78e42df4c84fd01e10a9677023fc1fc30f9f48 (diff) | |
download | pdfium-155028a48f5f5930da4cec2b23a17dc03dc869b7.tar.gz |
Add yet another pixel test for an edited PDF that regressed
While fixing crbug.com/40932618, the fix caused yet another regression
for other edited PDFs. Add a test case for the regression, where there
are multiple cross reference tables linked together using the /Prev
entries in trailers. There are also /XRefStm entries that are
effectively useless and dead ends when traversed.
As with other regression tests for edited PDFs:
- The file is yet another handcrafted variant of rectangles.pdf.
- The file uses the same fake objects technique as
testing/resources/pixel/bug_2123.pdf to deliberately confuse
CPDF_Parser::RebuildCrossRef().
- The test case starts out suppressed.
Bug: 335309995
Change-Id: Ia1d3b4165636eb854f2ffcff9b7b78c8328e8800
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/118570
Reviewed-by: Thomas Sepez <tsepez@google.com>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'codereview.settings')
0 files changed, 0 insertions, 0 deletions