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

Issue 2300903002: Handle another integer overflow in ReadPageHintTable(). (Closed)

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

Description

Handle another integer overflow in ReadPageHintTable(). Return false instead of crashing. BUG=641882 Committed: https://pdfium.googlesource.com/pdfium/+/8d3ca14840a027c3dd1e2c943795d057dbb91454

Patch Set 1 #

Patch Set 2 : FALSE-false #

Total comments: 4

Patch Set 3 : rebase #

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

Messages

Total messages: 26 (18 generated)
Lei Zhang
4 years, 3 months ago (2016-09-01 03:54:43 UTC) #11
dsinclair
lgtm
4 years, 3 months ago (2016-09-01 13:39:25 UTC) #13
Tom Sepez
LGTM w/question and nit. https://codereview.chromium.org/2300903002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp File core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp (right): https://codereview.chromium.org/2300903002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp#newcode54 core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp:54: int nStreamOffset = ReadPrimaryHintStreamOffset(); nit: ...
4 years, 3 months ago (2016-09-01 16:08:04 UTC) #14
Oliver Chang
lgtm, so the symbolization was completely off?
4 years, 3 months ago (2016-09-01 16:08:22 UTC) #15
Lei Zhang
On 2016/09/01 16:08:22, Oliver Chang wrote: > lgtm, so the symbolization was completely off? It ...
4 years, 3 months ago (2016-09-01 17:19:41 UTC) #16
Lei Zhang
https://codereview.chromium.org/2300903002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp File core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp (right): https://codereview.chromium.org/2300903002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp#newcode54 core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp:54: int nStreamOffset = ReadPrimaryHintStreamOffset(); On 2016/09/01 16:08:04, Tom Sepez ...
4 years, 3 months ago (2016-09-01 17:49:19 UTC) #19
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/2300903002/60001
4 years, 3 months ago (2016-09-01 18:47:05 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 18:47:20 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/8d3ca14840a027c3dd1e2c943795d057dbb9...

Powered by Google App Engine
This is Rietveld 408576698