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

Issue 461343003: Check path point count overflow in DrawThisAppearance (Closed)

Created:
6 years, 4 months ago by Bo Xu
Modified:
5 years, 9 months ago
Reviewers:
Tom Sepez, jun_fang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Visibility:
Public.

Description

Check path point count overflow in DrawThisAppearance BUG=387969 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/a94019d

Patch Set 1 #

Patch Set 2 : Tabify #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M fpdfsdk/src/pdfwindow/PWL_Edit.cpp View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tom Sepez
Are you sure this is the cause? What if nCharArray is large such that malloc ...
6 years, 4 months ago (2014-08-15 22:58:30 UTC) #1
Bo Xu
On 2014/08/15 22:58:30, Tom Sepez wrote: > Are you sure this is the cause? What ...
6 years, 4 months ago (2014-08-16 20:05:15 UTC) #2
Tom Sepez
LGTM with nit (meaning "You can land after addressing the nit"). https://codereview.chromium.org/461343003/diff/100001/fpdfsdk/src/pdfwindow/PWL_Edit.cpp File fpdfsdk/src/pdfwindow/PWL_Edit.cpp (right): ...
6 years, 4 months ago (2014-08-18 18:15:47 UTC) #3
Bo Xu
Committed patchset #4 manually as a94019d (presubmit successful).
6 years, 4 months ago (2014-08-18 18:33:08 UTC) #4
Bo Xu
6 years, 4 months ago (2014-08-18 18:33:58 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/461343003/diff/100001/fpdfsdk/src/pdfwindow/P...
File fpdfsdk/src/pdfwindow/PWL_Edit.cpp (right):

https://codereview.chromium.org/461343003/diff/100001/fpdfsdk/src/pdfwindow/P...
fpdfsdk/src/pdfwindow/PWL_Edit.cpp:414: FX_SAFE_INT32 nCharArrayDouble =
nCharArray;
On 2014/08/18 18:15:47, Tom Sepez wrote:
> nit: Can we call this nCharArraySafe?  Double sounds too much like a
> floating-point type, even though what you mean is that this value "doubles"
the
> other as a stand-in for it.

Done.

Powered by Google App Engine
This is Rietveld 408576698