Closed
Bug 1988993
Opened 9 months ago
Closed 9 months ago
Unsafe async activity usage in PlayStoreReviewPromptController.tryLaunchPlayStoreReview
Categories
(Firefox for Android :: Experimentation and Telemetry, defect)
Tracking
()
RESOLVED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: mkozinski, Assigned: mkozinski)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group2])
Attachments
(1 file)
In tryPromptReview the activity passed in is used in the async manager.addOnCompleteListener. This means we might be holding onto the activity and try to use it after it was destroyed.
| Assignee | ||
Updated•9 months ago
|
Assignee: nobody → mkozinski
Status: NEW → ASSIGNED
| Assignee | ||
Updated•9 months ago
|
Whiteboard: [fxdroid][group2]
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
Updated•9 months ago
|
Attachment #9513966 -
Attachment description: Bug 1988993 - Don't capture a strong activity reference in an async callback → Bug 1988993 - Scope listener to activity, to remove it during onStop
Pushed by mkozinski@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c139392fab8a
https://hg.mozilla.org/integration/autoland/rev/a1a5e279ba84
Scope listener to activity, to remove it during onStop r=android-reviewers,twhite,jonalmeida
Comment 3•9 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
status-firefox145:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
Pushed by chorotan@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5db4b7f0be02
https://hg.mozilla.org/mozilla-central/rev/f17c7e0fde9f
Revert "Bug 1988993 - Scope listener to activity, to remove it during onStop r=android-reviewers,twhite,jonalmeida" for causing conflict on bug 1986398
Comment 5•9 months ago
|
||
Backed out from central for causing conflict on the backout of Bug 1986398
https://hg.mozilla.org/mozilla-central/rev/f17c7e0fde9ffd96c7a9845b6d213f655205d8f5
Status: RESOLVED → REOPENED
status-firefox145:
fixed → ---
Flags: needinfo?(mkozinski)
Resolution: FIXED → ---
Target Milestone: 145 Branch → ---
Pushed by mkozinski@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/b122b69bb68c
https://hg.mozilla.org/integration/autoland/rev/82e7f69975e4
Scope listener to activity, to remove it during onStop r=android-reviewers,twhite,jonalmeida
| Assignee | ||
Updated•9 months ago
|
Flags: needinfo?(mkozinski)
Comment 7•9 months ago
|
||
The severity field is not set for this bug.
:towhite, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(towhite)
Comment 8•9 months ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 9 months ago → 9 months ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
| Assignee | ||
Updated•8 months ago
|
Severity: -- → S3
| Assignee | ||
Updated•8 months ago
|
Flags: needinfo?(towhite)
You need to log in
before you can comment on or make changes to this bug.
Description
•