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

Issue 1580773002: Remove dubious cast in CXFA_ScriptContext::AddJSBuiltinObject() (Closed)

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

Description

Remove dubious cast in CXFA_ScriptContext::AddJSBuiltinObject() BUG=pdfium:354 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/c4fd5c183142aef5ae93b918b65a0bf01d2a0a1e

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Release hObject #

Patch Set 4 : const #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -87 lines) Patch
M xfa/src/fxfa/src/common/xfa_script.h View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/src/fxfa/src/parser/xfa_object_imp.cpp View 1 2 3 4 1 chunk +1 line, -6 lines 0 comments Download
M xfa/src/fxfa/src/parser/xfa_script_imp.h View 1 2 3 4 chunks +2 lines, -4 lines 0 comments Download
M xfa/src/fxfa/src/parser/xfa_script_imp.cpp View 1 2 3 4 8 chunks +13 lines, -76 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
jun_fang
Hi Tom and Lei, Please review this CL. Thanks!
4 years, 11 months ago (2016-01-12 16:07:07 UTC) #2
jun_fang
https://codereview.chromium.org/1580773002/diff/60001/xfa/src/fxfa/src/parser/xfa_script_imp.cpp File xfa/src/fxfa/src/parser/xfa_script_imp.cpp (left): https://codereview.chromium.org/1580773002/diff/60001/xfa/src/fxfa/src/parser/xfa_script_imp.cpp#oldcode116 xfa/src/fxfa/src/parser/xfa_script_imp.cpp:116: m_JSBuiltInObjects.GetNextAssoc(ps, bsKey, pValue); Here, we got risky pValue. Luckily, ...
4 years, 11 months ago (2016-01-12 16:23:24 UTC) #3
Tom Sepez
lgtm
4 years, 11 months ago (2016-01-12 18:33:20 UTC) #4
jun_fang
On 2016/01/12 18:33:20, Tom Sepez wrote: > lgtm I am working on a test case ...
4 years, 11 months ago (2016-01-13 16:17:45 UTC) #5
jun_fang
On 2016/01/13 16:17:45, jun_fang wrote: > On 2016/01/12 18:33:20, Tom Sepez wrote: > > lgtm ...
4 years, 11 months ago (2016-01-15 13:47:40 UTC) #6
Tom Sepez
On 2016/01/15 13:47:40, jun_fang wrote: > On 2016/01/13 16:17:45, jun_fang wrote: > > On 2016/01/12 ...
4 years, 11 months ago (2016-01-19 23:27:52 UTC) #7
jun_fang
4 years, 11 months ago (2016-01-20 02:41:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
c4fd5c183142aef5ae93b918b65a0bf01d2a0a1e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698