Issue metadata
Sign in to add a comment
|
XSLT apply-templates stack recursion
Reported by
guyinb...@gmail.com,
Apr 16 2018
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Steps to reproduce the problem: supply this xsl to the window: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="child::node()"> <xsl:apply-imports/> <xsl:apply-templates select="current()"/> </xsl:template> </xsl:stylesheet> you can do it in the link: https://www.w3schools.com/xml/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog just paste the xsl into the right window and click transform for the crash What is the expected behavior? probably limit the amount of possible recursion of libxsl or add a try/catch clause to handle this kind of case What went wrong? the libxslt engine went on with infinite stack recursion and crashed Crashed report ID: How much crashed? Just one tab Is it a problem with a plugin? N/A Did this work before? N/A Chrome version: 65.0.3325.181 Channel: stable OS Version: 10.0 Flash Version:
,
Apr 17 2018
,
Apr 18 2018
Cc'ing dcheng@ as per https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/xml/OWNERS?q=blink%3Exml&sq=package:chromium&l=3 for more inputs on this.
,
Jul 25
This doesn't seem like a high priority. Stack overflow crashes don't threaten security. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by susan.boorgula@chromium.org
, Apr 17 2018Components: Blink>XML
Labels: -Type-Bug -Pri-2 RegressedIn-63 M-68 FoundIn-67 FoundIn-66 Target-67 Target-66 Target-65 FoundIn-65 FoundIn-68 Target-68 Pri-1 Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)