Closed
Bug 10993
Opened 26 years ago
Closed 26 years ago
nsBuffer does not initialize mObserver
Categories
(Core :: XPCOM, defect, P1)
Tracking
()
VERIFIED
FIXED
M9
People
(Reporter: rginda, Assigned: scc-obsolete)
Details
xpcom/ds/nsBuffer.cpp does not initialize the mObserver member in the
constructor.
creating/destroying an nsBuffer without calling Init() causes a crash.
Index: nsBuffer.cpp
===================================================================
RCS file: /cvsroot/mozilla/xpcom/ds/nsBuffer.cpp,v
retrieving revision 3.17
diff -u -r3.17 nsBuffer.cpp
--- nsBuffer.cpp 1999/07/15 01:38:08 3.17
+++ nsBuffer.cpp 1999/07/31 06:34:53
@@ -29,6 +29,7 @@
: mGrowBySize(0),
mMaxSize(0),
mAllocator(nsnull),
+ mObserver(nsnull),
mBufferSize(0),
mReadSegment(nsnull),
mReadCursor(0),
Updated•26 years ago
|
Assignee: dp → dougt
Updated•26 years ago
|
Assignee: dougt → scc
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Target Milestone: M9
Assignee | ||
Updated•26 years ago
|
Priority: P3 → P1
Assignee | ||
Comment 1•26 years ago
|
||
this is a crasher, it needs to be a high priority
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•