Fix uninitialized mCursor crash

VERIFIED FIXED

Status

()

--
major
VERIFIED FIXED
17 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)

(Reporter)

Description

17 years ago
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)

Comment 1

17 years ago
Created attachment 45032 [details] [diff] [review]
patch for mCursor
(Reporter)

Updated

17 years ago
Keywords: crash, patch
(Assignee)

Comment 2

17 years ago
Fixed. Thanks Randell.
Status: NEW → RESOLVED
Last Resolved: 17 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.