Do not allow wrapping SourceSurfaceOffset around null surfaces
Categories
(Core :: Graphics, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | fixed |
firefox80 | --- | wontfix |
firefox81 | --- | fixed |
firefox82 | --- | fixed |
People
(Reporter: mikokm, Assigned: mikokm)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-esr78+
|
Details | Review |
The patch for bug 1627616 did not catch all the cases where SourceSurfaceOffset::mSurface
could end up being nullptr
.
This patch fixes the only other callsite where SourceSurfaceOffset
is constructed, and adds a release assert in SourceSurfaceOffset::SourceSurfaceOffset()
.
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by mikokm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/23935d3834d6 Do not allow wrapping SourceSurfaceOffset around null surfaces r=mstange
Comment 3•4 years ago
|
||
bugherder |
Comment 4•4 years ago
|
||
Hi Miko, do we want this on Beta/ESR78? Please nominate if yes :)
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Comment on attachment 9173398 [details]
Bug 1662484 - Do not allow wrapping SourceSurfaceOffset around null surfaces r=mstange
Beta/Release Uplift Approval Request
- User impact if declined: This is a follow-up to bug 1627616 that should fix the remaining cases of this crash signature (often occurring during device resets on Windows)
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: Bug 1627616
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk because the fix is effectively a null-pointer check that avoids the crash.
- String changes made/needed:
Comment 6•4 years ago
|
||
Comment on attachment 9173398 [details]
Bug 1662484 - Do not allow wrapping SourceSurfaceOffset around null surfaces r=mstange
Approved for 81.0b9.
Comment 7•4 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 8•4 years ago
|
||
Comment on attachment 9173398 [details]
Bug 1662484 - Do not allow wrapping SourceSurfaceOffset around null surfaces r=mstange
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Fixes one of the top crashes.
- User impact if declined: Crashes, possibly related to device resets or OOM events, when surface creation fails.
- Fix Landed on Version: 81
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk because the fix is effectively a null-pointer check that avoids the crash.
- String or UUID changes made by this patch:
Comment 9•4 years ago
|
||
Comment on attachment 9173398 [details]
Bug 1662484 - Do not allow wrapping SourceSurfaceOffset around null surfaces r=mstange
Approved for 78.4esr.
Comment 10•4 years ago
|
||
bugherder uplift |
Description
•