Closed
Bug 508774
Opened 15 years ago
Closed 15 years ago
nsGlobalModalWindow traverses mArguments twice
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: peterv, Assigned: peterv)
References
Details
(Keywords: fixed1.9.0.18)
Attachments
(2 files)
735 bytes,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
peterv
:
review+
peterv
:
superreview+
dveditz
:
approval1.9.1.8+
dveditz
:
approval1.9.0.18+
|
Details | Diff | Splinter Review |
nsGlobalModalWindow traverses mArguments, which is already traversed in its base class (nsGlobalWindow). This means the cycle collector might be collecting live objects. It doesn't traverse its own member mReturnValue but does unlink it.
I found this from code inspection and I don't have a testcase, so no idea how bad it is. We should be nulling out pointers when unlinking so I don't think we'll end up with stale pointers.
Flags: blocking1.9.2?
Attachment #392911 -
Flags: superreview?(jst)
Attachment #392911 -
Flags: review?(jst)
Comment 1•15 years ago
|
||
Peter: do you think this should block the alpha? That's what P1 blockers mean at this time ...
Updated•15 years ago
|
Attachment #392911 -
Flags: superreview?(jst)
Attachment #392911 -
Flags: superreview+
Attachment #392911 -
Flags: review?(jst)
Attachment #392911 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: blocking1.9.2?
Resolution: --- → FIXED
Assignee | ||
Comment 4•15 years ago
|
||
This fixes the leaks from bug 504862. Safe patch, has been on trunk since beginning of August.
Attachment #415604 -
Flags: superreview+
Attachment #415604 -
Flags: review+
Attachment #415604 -
Flags: approval1.9.1.6?
Attachment #415604 -
Flags: approval1.9.0.16?
Assignee | ||
Updated•15 years ago
|
Blocks: CVE-2009-3988
Updated•15 years ago
|
Updated•15 years ago
|
Attachment #415604 -
Flags: approval1.9.1.7?
Attachment #415604 -
Flags: approval1.9.1.6?
Attachment #415604 -
Flags: approval1.9.0.17?
Attachment #415604 -
Flags: approval1.9.0.16?
Comment 5•15 years ago
|
||
Comment on attachment 415604 [details] [diff] [review]
v1 (1.9.1 branch version)
Approved for 1.9.1.7 and 1.9.0.17, a=dveditz for release-drivers
Please land this before bug 504862
Attachment #415604 -
Flags: approval1.9.1.7?
Attachment #415604 -
Flags: approval1.9.1.7+
Attachment #415604 -
Flags: approval1.9.0.17?
Attachment #415604 -
Flags: approval1.9.0.17+
Assignee | ||
Comment 6•15 years ago
|
||
Keywords: fixed1.9.0.17
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•