Closed
Bug 137249
Opened 23 years ago
Closed 23 years ago
listbox widget with invalid children crashes
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 125689
People
(Reporter: markh, Assigned: jag+mozilla)
Details
(Keywords: crash)
Attachments
(2 files)
|
325 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
|
585 bytes,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
If you create a listbox with invalid content, Mozilla crashes. Eg:
<listbox>
<checkbox label="foo"/>
</listbox>
will crash. I'm not sure exactly what I expect that to do, but I don't expect
it to crash :)
Attaching complete crashing XUL.
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
| Reporter | ||
Comment 2•23 years ago
|
||
Patch that fixes the NULL pointer de-reference. There is no mBox object with
invalid children.
Comment 3•23 years ago
|
||
Seems like a reasonable patch. hewitt, jag, varga: wanna review this patch?
Keywords: review
Comment 4•23 years ago
|
||
Comment on attachment 79055 [details] [diff] [review]
Proposed patch
looks good
r=varga
Attachment #79055 -
Flags: review+
*** This bug has been marked as a duplicate of 125689 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•