Closed Bug 1359849 Opened 8 years ago Closed 8 years ago

videocontrols needs to try/catch around access to all content bits

Categories

(Core :: Audio/Video, enhancement)

53 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox-esr45 --- wontfix
firefox-esr52 --- wontfix
firefox53 --- wontfix
firefox54 --- wontfix
firefox55 --- fixed

People

(Reporter: bzbarsky, Assigned: jaws)

Details

(Keywords: sec-other, Whiteboard: [adv-main55-][post-critsmash-triage])

Attachments

(1 file)

Bug 1356558 describes a situation (see bug 1356558 comment 0 and bug 1356558 comment 20) in which videocontrols code throws an exception due to the object it's trying to touch having been hueyfixed and hence a dead object wrapper. Unfortunately, that means videocontrols don't finish the cleanup they are trying to do, causing page-lifetime leaks. There should probably be try/catches around this stuff. Security-sensitive for now, because bug 1356558 is. Ray, Jared, do you know who owns this stuff? It looks like you touched/reviewed it recently...
Flags: needinfo?(ralin)
Flags: needinfo?(jaws)
Flags: needinfo?(jaws)
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(ralin)
(In reply to Boris Zbarsky [:bz] (still a bit busy) (if a patch has no decent message, automatic r-) from comment #0) > Ray, Jared, do you know who owns this stuff? It looks like you > touched/reviewed it recently... That would be me, working on a patch now.
Attached patch 1359849.patchSplinter Review
Attachment #8862045 - Flags: review?(gijskruitbosch+bugs)
Keywords: sec-other
Comment on attachment 8862045 [details] [diff] [review] 1359849.patch Review of attachment 8862045 [details] [diff] [review]: ----------------------------------------------------------------- Does this need a try...catch too: https://dxr.mozilla.org/mozilla-central/rev/f229b7e5d91eb70d23d3e31db7caff9d69a2ef04/toolkit/content/widgets/videocontrols.xml#2041 ?
Attachment #8862045 - Flags: review?(gijskruitbosch+bugs) → review+
(In reply to :Gijs from comment #4) > Does this need a try...catch too? Wouldn't hurt. I added one there and will land this on inbound once the tree reopens.
This goes back to bug 1285234 if I'm not mistaken?
Flags: needinfo?(jaws)
Actually, looks like it goes back way further than that even.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Group: dom-core-security → core-security-release
Can this ride the 55 train or should we consider it for Beta/ESR52 uplift?
Flags: needinfo?(jaws)
I wouldn't worry about uplifting this one. It's really only sec-sensitive because bug 1356558 is.
Whiteboard: [adv-main55-]
Flags: qe-verify-
Whiteboard: [adv-main55-] → [adv-main55-][post-critsmash-triage]
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: