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

Issue 2294383003: Use unsigned page indexes in CPDF_HintTables. (Closed)

Created:
4 years, 3 months ago by Lei Zhang
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Use unsigned page indexes in CPDF_HintTables. Fix up callers from CPDF_DataAvail. Committed: https://pdfium.googlesource.com/pdfium/+/e0cb687c71d555b55cc30ec59c9b338a0e83f77f

Patch Set 1 : Use unsigned page indexes in CPDF_HintTables. #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : more safe math #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -58 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp View 13 chunks +35 lines, -33 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_hint_tables.h View 3 chunks +5 lines, -3 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp View 1 2 6 chunks +17 lines, -15 lines 0 comments Download
M core/fpdfapi/fpdf_parser/include/cpdf_data_avail.h View 3 chunks +8 lines, -7 lines 0 comments Download
M fpdfsdk/fpdf_dataavail.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Lei Zhang
4 years, 3 months ago (2016-09-01 01:29:32 UTC) #7
Tom Sepez
https://codereview.chromium.org/2294383003/diff/20001/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp File core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp (right): https://codereview.chromium.org/2294383003/diff/20001/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp#newcode1425 core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp:1425: int32_t iPage = safePage.ValueOrDie(); return false instead of segv? ...
4 years, 3 months ago (2016-09-01 16:16:27 UTC) #8
Lei Zhang
https://codereview.chromium.org/2294383003/diff/20001/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp File core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp (right): https://codereview.chromium.org/2294383003/diff/20001/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp#newcode1425 core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp:1425: int32_t iPage = safePage.ValueOrDie(); On 2016/09/01 16:16:27, Tom Sepez ...
4 years, 3 months ago (2016-09-01 17:58:22 UTC) #11
Tom Sepez
lgtm
4 years, 3 months ago (2016-09-01 18:01:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2294383003/60001
4 years, 3 months ago (2016-09-01 20:40:59 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 20:41:13 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/e0cb687c71d555b55cc30ec59c9b338a0e83...

Powered by Google App Engine
This is Rietveld 408576698