Title: [292580] releases/WebKitGTK/webkit-2.34
- Revision
- 292580
- Author
- [email protected]
- Date
- 2022-04-07 17:08:11 -0700 (Thu, 07 Apr 2022)
Log Message
Merge r291791 - REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
https://bugs.webkit.org/show_bug.cgi?id=238239
Patch by Kimmo Kinnunen <[email protected]> on 2022-03-24
Reviewed by Darin Adler.
Source/WebCore:
Fix off-by-one error causing full buffer multidraws to be
marked as invalid.
Enable the newer WebGL conformance tests that test this.
* html/canvas/WebGLMultiDraw.cpp:
(WebCore::WebGLMultiDraw::validateOffset):
LayoutTests:
Enable the newer WebGL conformance tests that test this, marked
Slow as they take a while to run.
* TestExpectations:
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.34/LayoutTests/ChangeLog (292579 => 292580)
--- releases/WebKitGTK/webkit-2.34/LayoutTests/ChangeLog 2022-04-08 00:08:05 UTC (rev 292579)
+++ releases/WebKitGTK/webkit-2.34/LayoutTests/ChangeLog 2022-04-08 00:08:11 UTC (rev 292580)
@@ -1,3 +1,15 @@
+2022-03-24 Kimmo Kinnunen <[email protected]>
+
+ REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
+ https://bugs.webkit.org/show_bug.cgi?id=238239
+
+ Reviewed by Darin Adler.
+
+ Enable the newer WebGL conformance tests that test this, marked
+ Slow as they take a while to run.
+
+ * TestExpectations:
+
2022-02-14 Simon Fraser <[email protected]>
Fix crash with deeply nested async overflow scroll
Modified: releases/WebKitGTK/webkit-2.34/Source/WebCore/ChangeLog (292579 => 292580)
--- releases/WebKitGTK/webkit-2.34/Source/WebCore/ChangeLog 2022-04-08 00:08:05 UTC (rev 292579)
+++ releases/WebKitGTK/webkit-2.34/Source/WebCore/ChangeLog 2022-04-08 00:08:11 UTC (rev 292580)
@@ -1,3 +1,18 @@
+2022-03-24 Kimmo Kinnunen <[email protected]>
+
+ REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
+ https://bugs.webkit.org/show_bug.cgi?id=238239
+
+ Reviewed by Darin Adler.
+
+ Fix off-by-one error causing full buffer multidraws to be
+ marked as invalid.
+
+ Enable the newer WebGL conformance tests that test this.
+
+ * html/canvas/WebGLMultiDraw.cpp:
+ (WebCore::WebGLMultiDraw::validateOffset):
+
2022-01-07 Brent Fulgham <[email protected]>
[Hardening] Improve multi draw offset validation
Modified: releases/WebKitGTK/webkit-2.34/Source/WebCore/html/canvas/WebGLMultiDraw.cpp (292579 => 292580)
--- releases/WebKitGTK/webkit-2.34/Source/WebCore/html/canvas/WebGLMultiDraw.cpp 2022-04-08 00:08:05 UTC (rev 292579)
+++ releases/WebKitGTK/webkit-2.34/Source/WebCore/html/canvas/WebGLMultiDraw.cpp 2022-04-08 00:08:11 UTC (rev 292580)
@@ -135,7 +135,7 @@
return false;
}
- if (offset >= static_cast<GCGLuint>(size - drawcount)) {
+ if (offset > static_cast<GCGLuint>(size - drawcount)) {
m_context->synthesizeGLError(GraphicsContextGL::INVALID_OPERATION, functionName, outOfBoundsDescription);
return false;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes