WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
242783
Validate array sizes in WebGLRenderingContextBase::initializeNewContext
https://bugs.webkit.org/show_bug.cgi?id=242783
Summary
Validate array sizes in WebGLRenderingContextBase::initializeNewContext
Dan Glastonbury
Reported
2022-07-14 19:01:13 PDT
Some arrays have minimum sizes specified by the OpenGL ES spec and should never be zero. GL_COMBINED_TEXTURE_IMAGE_UNITS and GL_MAX_VERTEX_ATTRIBS have minimum values and should never be 0. When initialising a new context, if these values are 0 that indicates a problem with the GL context. The context is marked as lost to stop further commands from being processed.
Attachments
Add attachment
proposed patch, testcase, etc.
Dan Glastonbury
Comment 1
2022-07-14 19:02:08 PDT
rdar://96709463
Dan Glastonbury
Comment 2
2022-07-14 19:08:25 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/2439
EWS
Comment 3
2022-07-14 20:34:10 PDT
Committed
252488@main
(c277889e5b21): <
https://commits.webkit.org/252488@main
> Reviewed commits have been landed. Closing PR #2439 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug