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

Issue 2226023002: Fixup various overflow conditions (Closed)

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

Description

Fixup various overflow conditions There were several overflows detected by the PDF from the linked bug. This Cl fixes up the base causes of each of them. BUG=chromium:635473 Committed: https://pdfium.googlesource.com/pdfium/+/fb362089d952950212ccf159f86a46923f223172

Patch Set 1 #

Patch Set 2 : Fixup corpus test issue #

Total comments: 2

Patch Set 3 : Review cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M core/fxcrt/include/fx_coordinates.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M core/fxge/ge/fx_ge_device.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/agg23/0002-ubsan-error-fixes.patch View 1 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/agg23/README.pdfium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/agg23/agg_clip_liang_barsky.h View 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
dsinclair
PTAL.
4 years, 4 months ago (2016-08-08 19:38:37 UTC) #4
dsinclair
Seem to have broken corpus tests. Ignore while I investigate. Will ping again ....
4 years, 4 months ago (2016-08-08 19:45:49 UTC) #7
dsinclair
PTAL. I removed one of the AGG changes. It seems to cause issues with fills ...
4 years, 4 months ago (2016-08-08 20:48:54 UTC) #10
Tom Sepez
lgtm https://codereview.chromium.org/2226023002/diff/20001/core/fxcrt/include/fx_coordinates.h File core/fxcrt/include/fx_coordinates.h (right): https://codereview.chromium.org/2226023002/diff/20001/core/fxcrt/include/fx_coordinates.h#newcode154 core/fxcrt/include/fx_coordinates.h:154: pdfium::base::CheckedNumeric<int> w = right; nit: I might write ...
4 years, 4 months ago (2016-08-08 21:09:45 UTC) #13
dsinclair
https://codereview.chromium.org/2226023002/diff/20001/core/fxcrt/include/fx_coordinates.h File core/fxcrt/include/fx_coordinates.h (right): https://codereview.chromium.org/2226023002/diff/20001/core/fxcrt/include/fx_coordinates.h#newcode154 core/fxcrt/include/fx_coordinates.h:154: pdfium::base::CheckedNumeric<int> w = right; On 2016/08/08 21:09:45, Tom Sepez ...
4 years, 4 months ago (2016-08-09 13:35:19 UTC) #14
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/2226023002/40001
4 years, 4 months ago (2016-08-09 13:35:37 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 13:50:35 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/fb362089d952950212ccf159f86a46923f22...

Powered by Google App Engine
This is Rietveld 408576698