XML/XSLT with recursive call-template crash mozilla

RESOLVED DUPLICATE of bug 138183

Status

()

Core
XSLT
--
critical
RESOLVED DUPLICATE of bug 138183
15 years ago
15 years ago

People

(Reporter: Alexander Schatten, Assigned: peterv)

Tracking

({crash})

Trunk
x86
Windows NT
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

when Mozilla renders XML/XSLT like this snippet:

    <xsl:template match="test" name="crash">
        <xsl:call-template name="crash"/>
    </xsl:template>

the browser crashes. this is not good, as I could hide this behind a link or
frame and all users with mozilla crash... you should detect stack overflows or
check such recursions!!

Reproducible: Always

Steps to Reproduce:
1. make XML document with <test /> as root element including a xslt stylesheet
2. add the xslt snippet
3. open XML in mozilla
4. Mozilla crashes immediately

Actual Results:  
Mozilla Crashes

Expected Results:  
Stop executing this XSLT or eventually one tab/window crashing, but not Mozilla
completly

Updated

15 years ago
Keywords: crash
(Assignee)

Comment 1

15 years ago

*** This bug has been marked as a duplicate of 138183 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.