Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dbcaeecfdfc033626e7d2f127717799189fbcced
https://github.com/WebKit/WebKit/commit/dbcaeecfdfc033626e7d2f127717799189fbcced
Author: Roberto Rodriguez <[email protected]>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M
Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp
M Source/ThirdParty/ANGLE/src/tests/gl_tests/GLSLTest.cpp
Log Message:
-----------
Fix out-of-bounds array access for RewriteStructSamplers in ANGLE
https://bugs.webkit.org/show_bug.cgi?id=289122
rdar://145693288
Reviewed by Kimmo Kinnunen.
Perform array bounds checking in the ANGLE RewriteStructSamplers
implementation during shader compilation. Necessary because of a flaw
where an out of bounds array access can occur when structs are defined
that have only samplers, and then those structs are used as members
within other structs alongside other fields.
*
Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp:
(sh::RewriteStructSamplers):
* Source/ThirdParty/ANGLE/src/tests/gl_tests/GLSLTest.cpp:
Originally-landed-as: 289651.243@safari-7621-branch (eaf676d756d9).
rdar://151708047
Canonical link: https://commits.webkit.org/295862@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes