Closed Bug 725380 Opened 12 years ago Closed 12 years ago

CrashReporter can call doFinish twice

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 13

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Followup from bug 723495

We should be returning if the spec is null here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/CrashReporter.java.in#245

Without that we could call doFinish() twice, since the try block will silence the exception and call the doFinish() at the bottom of the function.

This patch adds the return and ports the changes to the XUL version too.
Attachment #595433 - Flags: review?(bugmail.mozilla)
Attachment #595433 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/538479680915
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Comment on attachment 595433 [details] [diff] [review]
patch

[Approval Request Comment]
Fixes a crash
Attachment #595433 - Flags: approval-mozilla-beta?
Attachment #595433 - Flags: approval-mozilla-aurora?
Comment on attachment 595433 [details] [diff] [review]
patch

[Triage Comment]
Mobile only - approved for Aurora 12 and Beta 11.
Attachment #595433 - Flags: approval-mozilla-beta?
Attachment #595433 - Flags: approval-mozilla-beta+
Attachment #595433 - Flags: approval-mozilla-aurora?
Attachment #595433 - Flags: approval-mozilla-aurora+
Comment on attachment 595433 [details] [diff] [review]
patch

Clearing approval for Aurora 12 and Beta 11 because we are not currently planning a Native Fennec release of these versions.  If this changes in the future, we will likely do a mass uplift of all native fennec changes.  For now, let's get these bugs off the channel triage radar.

[Filter on the string "mbrubeck-bugspam" if you want to delete all of these emails at once.]
Attachment #595433 - Flags: approval-mozilla-beta+
Attachment #595433 - Flags: approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: