Closed Bug 820185 Opened 12 years ago Closed 12 years ago

nsAutoJSValHolder's copy constructor needs to initialize its members

Categories

(Core :: XPConnect, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed
firefox-esr10 --- fixed
firefox-esr17 --- fixed
b2g18 --- fixed

People

(Reporter: mrbkap, Assigned: mrbkap)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Otherwise we crash when we use it. This isn't currently a problem with any existing code.
Attached patch patchSplinter Review
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #690615 - Flags: review?(bent.mozilla)
Attachment #690615 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/34f464e9a22c
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment on attachment 690615 [details] [diff] [review]
patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): A long time ago in a galaxy far, far away.

Bug 814026 requires this fix.
Attachment #690615 - Flags: approval-mozilla-esr17?
Attachment #690615 - Flags: approval-mozilla-esr10?
Attachment #690615 - Flags: approval-mozilla-beta?
Attachment #690615 - Flags: approval-mozilla-b2g18?
Attachment #690615 - Flags: approval-mozilla-aurora?
Just to be clear, this patch is completely risk-free. We were not initializing members correctly before.
Comment on attachment 690615 [details] [diff] [review]
patch

Approving on all the branches where bug 814026 is landing.
Attachment #690615 - Flags: approval-mozilla-esr17?
Attachment #690615 - Flags: approval-mozilla-esr17+
Attachment #690615 - Flags: approval-mozilla-esr10?
Attachment #690615 - Flags: approval-mozilla-esr10+
Attachment #690615 - Flags: approval-mozilla-beta?
Attachment #690615 - Flags: approval-mozilla-beta+
Attachment #690615 - Flags: approval-mozilla-aurora?
Attachment #690615 - Flags: approval-mozilla-aurora+
Comment on attachment 690615 [details] [diff] [review]
patch

Because this is landing to mozilla-beta, it'll also land to mozilla-b2g18.

Please move forward with landing these fixes on all branches asap.
Attachment #690615 - Flags: approval-mozilla-b2g18?
Is there anything QA can do to shake out potential regression in the upcoming Firefox releases?
Whiteboard: [qa?]
(In reply to Anthony Hughes, Mozilla QA (:ashughes) from comment #10)
> Is there anything QA can do to shake out potential regression in the
> upcoming Firefox releases?

For this patch in particular, there's nothing QA can really do. Testing and verifying bug 814026 will also verify this bug as well.
Thanks Blake. Marking this bug [qa-] based on comment 11.
Whiteboard: [qa?] → [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: