Bugtraq mailing list archives
Re: Netscape 6/7 crashes by a simple stylesheet...
From: dwm <dwm () althea taco com>
Date: Tue, 25 Feb 2003 16:22:20 -0500 (EST)
jux () beer com wrote:
Hi, I'm new here so I don't know if I posted this in the correct list... I've found out that some simple CSS-code can crash Netscape 6 and 7. This is a simple html-page containing this code:
while we're on the subject...just this week I reported to Netscape that this simple invalid (?) use of regex in "split" can also crash 7.x on windows. Woopdidoo. Tested: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 <html> <head> <title>test</title> <--script-- language="JavaScript"> function reformatDate(someDate) { var tokens = someDate.split(/(\/|-)/); if (tokens[1].length == 1) tokens[1] = "0" + tokens[1]; if (tokens[0].length == 1) tokens[0] = "0" + tokens[0]; var result = tokens[2] + tokens[1] + tokens[0]; alert(result); //return result; } </--script--> </head> <body> <form action="" method="GET" name="form1" onSubmit="return reformatDate(this.dt.value);"> MM/DD/YYYY - <input type=text name=dt> <input type=submit> </form> </body> </html>
Current thread:
- Netscape 6/7 crashes by a simple stylesheet... jux (Feb 25)
- Re: Netscape 6/7 crashes by a simple stylesheet... John Wofford (Feb 25)
- Re: Netscape 6/7 crashes by a simple stylesheet... Peter Lindgren (Feb 26)
- Re: Netscape 6/7 crashes by a simple stylesheet... Frankie (Feb 27)
- Re: Netscape 6/7 crashes by a simple stylesheet... Raj Mathur (Feb 26)
- Re: Netscape 6/7 crashes by a simple stylesheet... Greg Steuck (Feb 27)
- <Possible follow-ups>
- Re: Netscape 6/7 crashes by a simple stylesheet... jim . r . halfpenny (Feb 25)
- Re: Netscape 6/7 crashes by a simple stylesheet... dwm (Feb 25)
- Re: Netscape 6/7 crashes by a simple stylesheet... John Wofford (Feb 25)