Closed
Bug 872812
Opened 12 years ago
Closed 12 years ago
Passing viewBox to init*Event causes an assertion failure in CC macro expansion
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
Tracking | Status | |
---|---|---|
firefox22 | --- | unaffected |
firefox23 | + | fixed |
firefox24 | + | fixed |
firefox-esr17 | --- | unaffected |
b2g18 | --- | unaffected |
People
(Reporter: jruderman, Assigned: baku)
References
Details
(4 keywords, Whiteboard: [adv-main23-])
Attachments
(3 files, 1 obsolete file)
273 bytes,
text/html
|
Details | |
12.41 KB,
text/plain
|
Details | |
2.69 KB,
patch
|
baku
:
review+
lsblakk
:
approval-mozilla-aurora+
abillings
:
sec-approval+
|
Details | Diff | Splinter Review |
Assertion failure: !aIID.Equals((::nsISupports::COMTypeInfo<int>::kIID)), at content/svg/content/src/SVGAnimatedRect.cpp:18
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Looks like sec-critical. viewBox handling looks very odd.
Keywords: sec-critical
Comment 4•12 years ago
|
||
(but I assume this is a regression from webidlification.)
Comment 5•12 years ago
|
||
The code is:
15 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(SVGAnimatedRect)
16 NS_INTERFACE_MAP_ENTRY(nsISupports)
17 NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
18 NS_INTERFACE_MAP_END
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY strikes again. See bug 798188.
The order of lines 16 and 17 needs to be switched.
Blocks: 866796
Updated•12 years ago
|
tracking-firefox23:
--- → ?
Updated•12 years ago
|
status-b2g18:
--- → unaffected
status-firefox22:
--- → unaffected
status-firefox23:
--- → affected
status-firefox24:
--- → affected
status-firefox-esr17:
--- → unaffected
tracking-firefox24:
--- → ?
Keywords: regression
Updated•12 years ago
|
Assignee: nobody → continuation
Comment 7•12 years ago
|
||
Comment on attachment 750571 [details] [diff] [review]
patch
r=me, but you need to hg add the test file.
Attachment #750571 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #750571 -
Attachment is obsolete: true
Attachment #750598 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
Assignee | ||
Comment 10•12 years ago
|
||
Boris, can you help me with this? I just changed the order of 2 lines :)
Flags: needinfo?(bzbarsky)
Comment 11•12 years ago
|
||
You just need to request security approval on the patch.
Flags: needinfo?(bzbarsky)
Comment 12•12 years ago
|
||
Comment on attachment 750598 [details] [diff] [review]
patch
[Security approval request comment]
How easily could an exploit be constructed based on the patch? I have no idea
how to do it.
Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem? The tests show how to trigger the
assert, but I'm not sure how to exploit it.
Which older supported branches are affected by this flaw? Aurora 23.
If not all supported branches, which bug introduced the flaw? Bug 866796.
Do you have backports for the affected branches? If not, how different, hard to create, and risky will they be? This should apply to Aurora 23.
How likely is this patch to cause regressions; how much testing does it need?
This is a very safe patch.
Attachment #750598 -
Flags: sec-approval?
Comment 14•12 years ago
|
||
Comment on attachment 750598 [details] [diff] [review]
patch
sec-approval+ for m-c. Please prepare an aurora patch and nominate once it is on trunk.
Attachment #750598 -
Flags: sec-approval? → sec-approval+
Assignee | ||
Comment 15•12 years ago
|
||
Comment on attachment 750598 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 866796
User impact if declined: a crash...
Risk to taking this patch (and alternatives if risky): nothing.
Attachment #750598 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 16•12 years ago
|
||
Keywords: checkin-needed
Comment 17•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•12 years ago
|
Attachment #750598 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 18•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [adv-main23-]
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•