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

Issue 1007523003: Supress script during parser adjusting DOM node location (Closed)

Created:
5 years, 9 months ago by Hajime Morrita
Modified:
5 years, 9 months ago
Reviewers:
haraken
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Supress script during parser adjusting DOM node location This attack uses HTML parser's tree tweaking operation to trigger a script execution. This CL supresses it. This should be acceptable because: * It never happens with well-formed markup. * It only happens to a node being a child of <script>, which is unusual. BUG=464552 TEST=parser-adjust-parent-crash.html R=haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191807

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
A LayoutTests/fast/dom/parser-adjust-parent-crash.html View 1 chunk +20 lines, -0 lines 0 comments Download
A + LayoutTests/fast/dom/parser-adjust-parent-crash-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/html/parser/HTMLConstructionSite.cpp View 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Hajime Morrita
5 years, 9 months ago (2015-03-12 23:59:22 UTC) #1
haraken
LGTM
5 years, 9 months ago (2015-03-13 00:19:47 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1007523003/1
5 years, 9 months ago (2015-03-13 01:15:36 UTC) #4
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 01:36:04 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191807

Powered by Google App Engine
This is Rietveld 408576698