Closed
Bug 1290612
Opened 9 years ago
Closed 9 years ago
XPCNativeSet::NewInstanceMutate() is always called with a non-null first argument
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla51
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(1 file)
It has a single call site, which is immediately after a null check of the value passed in as the first argument. (This is fortunate, because the code that would run if the argument was null is wrong.)
| Assignee | ||
Comment 1•9 years ago
|
||
This is the one callsite, in XPCNativeSet::GetNewOrUsed():
if (otherSet)
set = NewInstanceMutate(otherSet, newInterface, position);
try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d84c376c45ad
| Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/68180/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/68180/
Attachment #8776399 -
Flags: review?(mrbkap)
Updated•9 years ago
|
Attachment #8776399 -
Flags: review?(mrbkap) → review+
Comment 3•9 years ago
|
||
Comment on attachment 8776399 [details]
Bug 1290612 - XPCNativeSet::NewInstanceMutate() is always called with a non-null first argument.
https://reviewboard.mozilla.org/r/68180/#review65456
| Assignee | ||
Comment 4•9 years ago
|
||
Thanks for the reviews. I'm going to try to rebase and push to MozReview so ignore any review requests you get. I'm not sure how this is supposed to work with MozReview...
| Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8776399 [details]
Bug 1290612 - XPCNativeSet::NewInstanceMutate() is always called with a non-null first argument.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/68180/diff/1-2/
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b2a6aaf59783
XPCNativeSet::NewInstanceMutate() is always called with a non-null first argument. r=mrbkap
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•