Closed Bug 113973 Opened 24 years ago Closed 24 years ago

Format error in .xul file crashes Mozilla

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: cmessenger, Assigned: hyatt)

Details

Attachments

(2 files)

If you load the attached .xul file into Mozilla 0.9.6, it will crash the browser with an invalid memory reference. I'll work on isolating it -- right now, the file's pretty big -- 800+ lines. The parse error is near the end of the file -- there's a missing </hbox> just before the final </groupbox>. Looks like I'll have to attach the file in a later operation...
There's a syntax error in the file -- right near the bottom, just before the last </groupbox>, there's a missing </hbox>.
Okay, don't do that. Seriously, this is one of many ways that malformed content can cause a crash. We're assuming that if you're developing XUL, then you won't malform the content. But patches welcome. -> Future.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Yes, patches welcome -- adding helpwanted. Isn't there already such a bug on file? Anyone (cc'ing some likely folks) know of helpers on irc #mozilla who could hack the robustitude needed to avoid crashing? /be
Keywords: helpwanted
Testing this with a linux cvs build (20020210), loading the file aborts due to an XML parsing error, but no crash. cmessenger@iname.com, do you still see this?
I tested with 0.9.8, and it no longer crashes. It instead does the right thing -- generating a sensible format error message.
Great! Closing.
Status: NEW → RESOLVED
Closed: 24 years ago
Keywords: helpwanted
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: