Closed
Bug 1229649
Opened 9 years ago
Closed 9 years ago
Eliminate nulls in out parameter for nsIURI
Categories
(MailNews Core :: Backend, defect)
Tracking
(thunderbird44 wontfix, thunderbird45 fixed)
RESOLVED
FIXED
Thunderbird 45.0
People
(Reporter: rkent, Assigned: rkent)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
14.52 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
Many calls in mailnews code pass a URI to the caller which is rarely used. When unused, mailnews code typically passes a nullptr. That nullptr causes a crash in XPCOM code that access Javascript. At some point Bienvenu objected to simply removing the rarely-used nsIURI outparm (can't find the bug number), so replace those with a dummy parameter instead.
This is needed for JsAccount.
Assignee | ||
Comment 1•9 years ago
|
||
I considered changing the interfaces to eliminate the out nsIURI, but that would be more disruptive.
Comment 2•9 years ago
|
||
Comment on attachment 8694599 [details] [diff] [review]
Replace nullptr with dummyNull
Review of attachment 8694599 [details] [diff] [review]:
-----------------------------------------------------------------
rs+
I remember hitting this issue years ago when I tried my crazy magic variant.
Attachment #8694599 -
Flags: review?(Pidgeot18) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-thunderbird44:
--- → wontfix
status-thunderbird45:
--- → fixed
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → Thunderbird 45.0
You need to log in
before you can comment on or make changes to this bug.
Description
•