Closed
Bug 1135773
Opened 10 years ago
Closed 10 years ago
The cycle collector should not depend on QI nulling out the return value in case of failure
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(1 file)
2.59 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
See the discussion in bug 723248. This could cause some weird crashes. The simplest thing to do is probably to just null out the return value before we call QI. That won't help if a QI intentionally mangles the return value in case of failure, but that seems unlikely. Bug 1135772 has some examples of QIs failing to null out the return value.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8568242 -
Flags: review?(bugs)
Updated•10 years ago
|
Attachment #8568242 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•