Closed Bug 180321 Opened 22 years ago Closed 22 years ago

XML/XSLT with recursive call-template crash mozilla

Categories

(Core :: XSLT, defect)

x86
Windows NT
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 138183

People

(Reporter: schatten, Assigned: peterv)

Details

(Keywords: crash)

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
Keywords: crash

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