Closed
Bug 943035
Opened 12 years ago
Closed 12 years ago
nsScriptableInputStream::Read should use fallible allocator
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: benjamin, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
880 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
https://crash-stats.mozilla.com/report/index/17e78984-2d29-4f66-be05-7d5362131122
One of the common causes of OOM aborts appears to be the use of the infallible allocator in nsScriptableInputStream::Read. This should use a fallible allocator at http://hg.mozilla.org/releases/mozilla-release/annotate/d86ad7db1de3/xpcom/io/nsScriptableInputStream.cpp#l45
| Assignee | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Updated•12 years ago
|
Attachment #8338462 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in
before you can comment on or make changes to this bug.
Description
•