Closed Bug 1624451 Opened 5 years ago Closed 5 years ago

copyTexSubImage2D must clip source rectangle to framebuffer bounds

Categories

(Core :: Graphics: CanvasWebGL, defect, P1)

Unspecified
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kbrussel, Assigned: jgilbert)

References

()

Details

Test cases added to the WebGL conformance suite in:
https://github.com/KhronosGroup/WebGL/pull/3045

are failing (some intermittently, some reliably) in Firefox Nightly 76.0a1 (2020-03-23) (64-bit) on macOS. (Have not been able to test on other platforms.)

To resolve this, per the WebGL specification:
https://www.khronos.org/registry/webgl/specs/latest/1.0/#READS_OUTSIDE_FRAMEBUFFER

Firefox's copyTexSubImage2D operation must clip the source rectangle to the bounds of the current framebuffer.

Priority: -- → P1
Assignee: nobody → jgilbert

This runs clean on Windows with and without ANGLE.

OS: Unspecified → macOS

Confirmed locally.

Fixed by bug 1625404.

No longer blocks: CVE-2020-6821
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: CVE-2020-6821
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.