Closed
Bug 851180
Opened 13 years ago
Closed 13 years ago
mAckNeeded may not always be initialized
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox20 unaffected, firefox21 fixed, firefox22 fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox20 | --- | unaffected |
| firefox21 | --- | fixed |
| firefox22 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
3.06 KB,
patch
|
gbrown
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Turns out there's a lot of AndroidGeckoEvent constructors, and most of them don't initialize mAckNeeded, but it's always read. Oops.
The patch also removes an unused constructor.
Attachment #724986 -
Flags: review?(gbrown)
Comment 1•13 years ago
|
||
Comment on attachment 724986 [details] [diff] [review]
Patch
Review of attachment 724986 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM.
It looks like there are a lot of other AndroidGeckoEvent members that are not consistently initialized -- any concerns there?
Attachment #724986 -
Flags: review?(gbrown) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
Yeah I was kind of worried about that too, but from a quick look around I didn't see any others that were used without being initialized. If we can come with some way to always guarantee that it would be nice but I think trying to initialize everything in all of the constructors might be overkill unless we run into actual problems.
| Assignee | ||
Comment 3•13 years ago
|
||
| Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 724986 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 846774
User impact if declined: low risk of seemingly-random failures, because operations that are supposed to by synchronous could end up being not synchronous
Testing completed (on m-c, etc.): locally
Risk to taking this patch (and alternatives if risky): low-risk, fennec only
String or UUID changes made by this patch: none
Attachment #724986 -
Flags: approval-mozilla-aurora?
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Updated•13 years ago
|
Attachment #724986 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 6•13 years ago
|
||
status-firefox20:
--- → unaffected
status-firefox21:
--- → fixed
status-firefox22:
--- → fixed
Target Milestone: Firefox 22 → ---
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•