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

Issue 2242723002: Avoid an undefined shift in ReadPageHintTable(). (Closed)

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

Description

Avoid an undefined shift in ReadPageHintTable(). Even 39 bits is very generous for the number of bits needed to represent the greatest number of shared object references. BUG=637119 Committed: https://pdfium.googlesource.com/pdfium/+/9fe6f3ad47ca099efe5ae18aabfae6594a1e0329

Patch Set 1 #

Total comments: 2

Patch Set 2 : constant, comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
Lei Zhang
4 years, 4 months ago (2016-08-12 04:06:39 UTC) #7
Tom Sepez
lgtm https://codereview.chromium.org/2242723002/diff/1/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp File core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp (right): https://codereview.chromium.org/2242723002/diff/1/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp#newcode112 core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp:112: if (dwSharedObjBits >= 40) nit: can we make ...
4 years, 4 months ago (2016-08-12 15:29:12 UTC) #8
Lei Zhang
https://codereview.chromium.org/2242723002/diff/1/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp File core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp (right): https://codereview.chromium.org/2242723002/diff/1/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp#newcode112 core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp:112: if (dwSharedObjBits >= 40) On 2016/08/12 15:29:12, Tom Sepez ...
4 years, 4 months ago (2016-08-13 02:47:14 UTC) #10
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/2242723002/20001
4 years, 4 months ago (2016-08-13 02:47:37 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-13 03:00:38 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/9fe6f3ad47ca099efe5ae18aabfae6594a1e...

Powered by Google App Engine
This is Rietveld 408576698