Closed
Bug 732607
Opened 13 years ago
Closed 13 years ago
Make nsTArray assertions fatal
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: jruderman, Assigned: jruderman)
Details
Attachments
(1 file)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Many of the assertions in nsTArray are trying to protect against buffer overflows, so I think they should be fatal.
Changed:
* All NS_ASSERTION and NS_PRECONDITION
Not changed:
* All NS_ABORT_IF_FALSE
* NS_ERROR("Attempting to allocate excessively large array");
Attachment #602513 -
Flags: review?(bzbarsky)
Comment 1•13 years ago
|
||
Comment on attachment 602513 [details] [diff] [review]
patch (diff -w)
r=me
Attachment #602513 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Target Milestone: --- → mozilla13
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•