Closed
Bug 308481
Opened 19 years ago
Closed 19 years ago
crash if there is a recursion in a XSLT file
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 226425
People
(Reporter: bonbadilsec-pub, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 After a long moment, firefox show the error "Error during XSLT transformation: XSLT Stylesheet (possibly) contains a recursion." a quarter of second and crash. Reproducible: Always Steps to Reproduce: 1.Create an XML like : <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet href="bug.xsl" type="text/xsl"?> <page> <title>Deuxième titre</title> <content>Contenu 1</content> <comment>Commentaire 1</comment> </page> 2.Create a XSLT like : <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html"/> <xsl:template match="page"> <html> <head> <title> <xsl:value-of select="title" /> </title> </head> <body bgcolor="#ffffff"> <xsl:apply-templates select="/" /> </body> </html> </xsl:template> <xsl:template match="title"> <h1 align="center"> <xsl:apply-templates /> </h1> </xsl:template> <xsl:template match="content"> <p align="center"> <xsl:apply-templates /> </p> </xsl:template> <xsl:template match="comment"> <hr /> <xsl:apply-templates /> </xsl:template> </xsl:stylesheet> 3.Save them, modify the name of the link in the XML and open it. Actual Results: Some seconds after I get the error "Error during XSLT transformation: XSLT Stylesheet (possibly) contains a recursion." and firefox crash a quarter of second later. Expected Results: Only show the error. I don't know how to get the talkback crash ID (if it is what is send whith the QA tool).
I forget that I have seen olds bugs that can be linked with this : 298866 and 103295. In safe mode, I don't see the error, it crash directly.
Summary: crash if there is a recusrion in a XSLT file → crash if there is a recursion in a XSLT file
Comment 2•19 years ago
|
||
This may well be a duplicate of bug 226425. A fix for that bug was added to the 1.5 nightlies, so please test with build dated 14-September or later from here: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/ (The build should appear within 3 hours of this post)
It is a duplicate of bug 226425. I was only searching in the opened bug... Sorry. *** This bug has been marked as a duplicate of 226425 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•