Closed
Bug 9843
Opened 27 years ago
Closed 26 years ago
[malloc] memory allocation problems - layout events
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: chofmann, Assigned: joki)
References
Details
[malloc] memory allocation problems - layout events
check bug 8227 for more details on what needs to be done to this code
s:/mozilla/layout/events/src/nsDOMEvent.cpp
Deref-error: "tempDOMTextRange", line 70
Deref-error: "tempDOMTextRange", line 71
Comment 1•26 years ago
|
||
I don't see a dereferencing problem with this location.
There are checks for failed memory allocations before dereferencing occurs.
if (tempTextRangeList!=nsnull) {
..
if (tempPrivateTextRange!=nsnull) {
tempPrivateTextRange->AddRef();
tempTextRangeList[i] = (nsIPrivateTextRange*)tempPrivateTextRange;
}
}
Marking as INVALID.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•