Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e50dfb9ef21e84f9e47026fbfbf142a3bc5f57a
https://github.com/WebKit/WebKit/commit/6e50dfb9ef21e84f9e47026fbfbf142a3bc5f57a
Author: Roberto Rodriguez <[email protected]>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
A LayoutTests/webgl/webgl2-tex2subimage2d-nocrash-expected.txt
A LayoutTests/webgl/webgl2-tex2subimage2d-nocrash.html
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
Log Message:
-----------
Update argument validation for texSubImage2D
https://bugs.webkit.org/show_bug.cgi?id=296033
rdar://155792551
Reviewed by Dan Glastonbury.
Validate arguments to texSubImage2D by checking if format and type are
'empty' to avoid crashing when they are used as keys for WTF::HashSet.
* LayoutTests/webgl/webgl2-tex2subimage2d-nocrash-expected.txt: Added.
* LayoutTests/webgl/webgl2-tex2subimage2d-nocrash.html: Added.
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::validateTexImageSourceFormatAndType):
Canonical link: https://commits.webkit.org/297786@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