Closed Bug 431738 Opened 17 years ago Closed 16 years ago

Divide by zero [@ nsListBoxBodyFrame::VisibilityChanged] with <xul:listboxbody>

Categories

(Core :: XUL, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla1.9.1a1

People

(Reporter: jruderman, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: crash, testcase, Whiteboard: [sg:dos])

Crash Data

Attachments

(2 files)

Loading the testcase causes a divide-by-zero crash (mRowHeight is 0) [@ nsListBoxBodyFrame::VisibilityChanged].
Attached patch Patch rev. 1 (deleted) — Splinter Review
Two remaining unprotected mRowHeight divisions, the rest of the file is ok.
Assignee: nobody → mats.palmgren
Status: NEW → ASSIGNED
Attachment #318965 - Flags: superreview?(roc)
Attachment #318965 - Flags: review?(roc)
Attachment #318965 - Flags: superreview?(roc)
Attachment #318965 - Flags: superreview+
Attachment #318965 - Flags: review?(roc)
Attachment #318965 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a1
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Whiteboard: [sg:dos]
Crash Signature: [@ nsListBoxBodyFrame::VisibilityChanged]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: