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

Unified Diff: Source/WebCore/html/parser/HTMLTreeBuilder.cpp

Issue 9072017: Merge 102089 - Heap-buffer-overflow in WebCore::HTMLTreeBuilder::processEndTag (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/parser/foreign-content-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/parser/HTMLTreeBuilder.cpp
===================================================================
--- Source/WebCore/html/parser/HTMLTreeBuilder.cpp (revision 103964)
+++ Source/WebCore/html/parser/HTMLTreeBuilder.cpp (working copy)
@@ -2313,7 +2313,7 @@
processEndTag(token);
break;
case InForeignContentMode:
- if (m_tree.currentElement()->namespaceURI() == SVGNames::svgNamespaceURI)
+ if (m_tree.currentNode()->namespaceURI() == SVGNames::svgNamespaceURI)
adjustSVGTagNameCase(token);
if (token.name() == SVGNames::scriptTag && m_tree.currentNode()->hasTagName(SVGNames::scriptTag)) {
« no previous file with comments | « LayoutTests/fast/parser/foreign-content-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698