Fix uninitialized mCursor crash

VERIFIED FIXED

Status

()

--
major
VERIFIED FIXED
18 years ago
17 years ago

People

(Reporter: jesup, Assigned: pierre)

Tracking

({crash})

Trunk
x86
All
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

mCursor is uninitialized, and if it happens to have the wrong value and the
wrong call is made, it can crash.  I found this with code that trashes all
memory allocations (dmalloc).  This patch used to be part of bug 90545 (because
I fixed it while working on that bug) but I'm splitting it out since it's not an
actual  nsVoidArray/nsSupportsArray change.
(Reporter)

Updated

18 years ago
Keywords: crash, patch
(Assignee)

Comment 2

18 years ago
Fixed. Thanks Randell.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 3

17 years ago
verfied as per comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.