Closed Bug 1778158 Opened 2 years ago Closed 2 years ago

quartz: Avoid reading beyond the end of image surfaces.

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox-esr102 --- fixed
firefox103 --- fixed
firefox104 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

The last row of data may have less than stride bytes so make sure we
only copy what we need.

This corresponds to cairo:cccc81ccba99600483621e02ae9438a4a5a3d024

The last row of data may have less than stride bytes so make sure we
only copy what we need.

This corresponds to cairo:cccc81ccba99600483621e02ae9438a4a5a3d024

Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/021f32254c01
quartz: Avoid reading beyond the end of image surfaces. r=jfkthame
Blocks: 1719215
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch

Comment on attachment 9284192 [details]
Bug 1778158 - quartz: Avoid reading beyond the end of image surfaces.

Beta/Release Uplift Approval Request

  • User impact if declined: Fixes crashes that will be exposed by bug 1769429 otherwise sometimes printing will be broken
  • 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: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This just ensures that we only copy the data that we need.
  • String changes made/needed:
  • Is Android affected?: Yes

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This will let us land a fix for bug 1769429
  • User impact if declined: Sometimes printing will be broken
  • Fix Landed on Version: 104
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
Attachment #9284192 - Flags: approval-mozilla-esr102?
Attachment #9284192 - Flags: approval-mozilla-beta?

Comment on attachment 9284192 [details]
Bug 1778158 - quartz: Avoid reading beyond the end of image surfaces.

Approved for 103.0b9, thanks.

Attachment #9284192 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9284192 [details]
Bug 1778158 - quartz: Avoid reading beyond the end of image surfaces.

Looks like this was effective at preventing the crashes from bug 1719215 from returning afer bug 1769429 was landed. Approved for 102.2esr.

Attachment #9284192 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: