Closed
Bug 63743
Opened 24 years ago
Closed 19 years ago
nsVoidArray::InsertElementAt() is not "out of memory" safe
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
WORKSFORME
mozilla1.1alpha
People
(Reporter: jst, Assigned: scc)
Details
Reading the code in nsVoidArray::InsertElementAt() I realized that the method doesn't return PR_FALSE as it should if the allocation (new) fails when it allocates the new array buffer. Looks like most places where allocations are made in nsVoidArray have the similar problems. This should be fixed.
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9 → mozilla1.1
Reporter | ||
Comment 2•23 years ago
|
||
nsVoidArray is not going away.
Did this cause bug 167439?
This no longer seems to be the case.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 5•19 years ago
|
||
No specific bug / patch referenced as the fix. -> WORKSFORME
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•19 years ago
|
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•