Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Issue 1486383002: Merge to XFA: Add basic checking for RebuildCrossRef (Closed)

Created:
5 years ago by Wei Li
Modified:
5 years ago
Reviewers:
jun_fang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@xfa
Target Ref:
refs/heads/xfa
Visibility:
Public.

Description

Merge to XFA: Add basic checking for RebuildCrossRef RebuildCrossRef function returns false when we can not find file trailer or any indirect object. This serves as a basic file format checking. BUG=pdfium:215 TBR=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/1476163002 . (cherry picked from commit f14da1d58e8e12633c7a47e6efd5ffe43bb37b4b) Committed: https://pdfium.googlesource.com/pdfium/+/7d1578a9ac083bf186dc3297885bfc56fdb78540

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -12 lines) Patch
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 3 chunks +6 lines, -12 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp View 2 chunks +11 lines, -0 lines 0 comments Download
A testing/resources/parser_rebuildxref_error_notrailer.pdf View 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (1 generated)
Wei Li
TBR, clean merge
5 years ago (2015-12-02 01:44:43 UTC) #1
Wei Li
5 years ago (2015-12-02 01:45:21 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
7d1578a9ac083bf186dc3297885bfc56fdb78540 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698