Closed Bug 1205456 Opened 9 years ago Closed 9 years ago

Release-mode crashes when serializing a principal with unknown app id

Categories

(Core :: Security: CAPS, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox41 --- fixed
firefox42 --- fixed
firefox43 --- fixed
relnote-firefox --- 41+

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

We fixed this in bug 1182610 for explicitly creating the origin, but origin stringification also happens implicitly during binary serialization. We need to handle that case too.
Attachment #8662079 - Flags: review?(gkrizsanits) → review+
Comment on attachment 8662079 [details] [diff] [review] Check for UNKNOWN_APP_ID when serializing principals. v1 We should uplift this to 42. I'm assuming I won't get it uplifted to aurora before the branch, so flagging for beta. See https://bugzilla.mozilla.org/show_bug.cgi?id=1182610#c9 Approval Request Comment [Feature/regressing bug #]: bug 1165162 [User impact if declined]: crashes [Describe test coverage new/current, TreeHerder]: tests with patch [Risks and why]: very low risk [String/UUID change made/needed]: None
Attachment #8662079 - Flags: approval-mozilla-beta?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment on attachment 8662079 [details] [diff] [review] Check for UNKNOWN_APP_ID when serializing principals. v1 Fix a crash, taking it.
Attachment #8662079 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Blocks: 1208008
Comment on attachment 8662079 [details] [diff] [review] Check for UNKNOWN_APP_ID when serializing principals. v1 Nominating for uplift per Ritu's request. Approval Request Comment [Feature/regressing bug #]: bug 1165162 [User impact if declined]: Crashes [Describe test coverage new/current, TreeHerder]: CI [Risks and why]: Very low risk. Just propagating a rare failure condition instead of crashing. [String/UUID change made/needed]: None
Attachment #8662079 - Flags: approval-mozilla-release?
I was told by dmajor and philipp that I should consider taking this fix for 41 dot release. Bholley mentioned that this is an extremely safe fix. Also because the crash in bug 1208008 was reproducible, Philipp has verified that the crash has gone away on Nightly44 ever since the fix landed.
Comment on attachment 8662079 [details] [diff] [review] Check for UNKNOWN_APP_ID when serializing principals. v1 The fix looks safe. Please see comment 8 for my reasoning for taking this as a ride-along, this is a verified and safe patch to take.
Attachment #8662079 - Flags: approval-mozilla-release? → approval-mozilla-release+
I've attached a test case for the Mozilla Archive Format add-on in bug 1208008. I've seen the FIREFOX_41_0_1_RELEASE tag in the mozilla-release repository. Does this mean 42.0.1 is scheduled for release soon? I've received several reports of the crash over the week-end and I'd like to reply with a target date, or recommend users to upgrade to Firefox Beta in the meantime.
Did this make it into 41.0.1? It's not in the release notes: https://www.mozilla.org/en-US/firefox/41.0.1/releasenotes/
Flags: needinfo?(rkothari)
(In reply to Mike Kaply [:mkaply] from comment #12) > Did this make it into 41.0.1? It's not in the release notes: > > https://www.mozilla.org/en-US/firefox/41.0.1/releasenotes/ Mike, yes it was included in 41.0.1 dot release that went live late last week. I might have missed adding these to the release notes. Sorry about that! If you refresh the notes in 15 minutes or so from now, you should be able to see this one in there.
Flags: needinfo?(rkothari)
Paolo, 41.0.1 was pushed live on Oct 2nd, 2015 noon PST. And I can confirm that this fix was included in it.
Flags: needinfo?(paolo.mozmail)
This was also reported as fixed by users of the Mozilla Archive Format add-on. Thanks!
Flags: needinfo?(paolo.mozmail)
Flags: a11y-review+
Flags: a11y-review+ → a11y-review-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: