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

Issue 1901013002: fix issue of Heap Use-After-Free in CXFA_LayoutItem::AddChild (Closed)

Created:
4 years, 8 months ago by Jim Wang
Modified:
4 years, 8 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

fix issue of Heap Use-After-Free in CXFA_LayoutItem::AddChild BUG=chromium:590711 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/b02012d565e2596c79c41c6fbf7f2ed88c4bbc51

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M xfa/fxfa/parser/xfa_layout_itemlayout.cpp View 1 chunk +22 lines, -20 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Jim Wang
Hello all, please help to review this CL, thanks.
4 years, 8 months ago (2016-04-19 07:01:37 UTC) #2
Tom Sepez
Very nice. LGTM. If you wanted to wordsmith the CL description, it might read: "Fix ...
4 years, 8 months ago (2016-04-19 17:48:21 UTC) #5
Jim Wang
Committed patchset #1 (id:1) manually as b02012d565e2596c79c41c6fbf7f2ed88c4bbc51 (presubmit successful).
4 years, 8 months ago (2016-04-20 00:37:40 UTC) #7
Jim Wang
On 2016/04/19 17:48:21, Tom Sepez wrote: > Very nice. LGTM. > > If you wanted ...
4 years, 8 months ago (2016-04-20 00:42:12 UTC) #8
dsinclair
4 years, 8 months ago (2016-04-20 12:55:17 UTC) #9
Message was sent while issue was closed.
On 2016/04/20 00:42:12, Jim Wang wrote:
> On 2016/04/19 17:48:21, Tom Sepez wrote:
> > Very nice. LGTM.
> > 
> > If you wanted to wordsmith the CL description, it might read:
> > 
> > "Fix heap use-after-free in CXFA_LayoutItem::AddChild()"
> > 
> > And the body might say:
> > 
> > Child must be removed from its parent before deleting it.
> > 
> > or some such.  Thanks!
> 
> Thanks for you advice!


For future note, you can click the 'Commit' checkbox on the code review tool to
have the code submitted now, no need to land manually. This will run it through
the try bots to make sure nothing breaks.  You can also do 'git cl try' from the
commandline to test the change on the various bots ahead of time.

Powered by Google App Engine
This is Rietveld 408576698