[Webkit-unassigned] [Bug 242783] New: Validate array sizes in WebGLRenderingContextBase::initializeNewContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 14 19:01:13 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242783

            Bug ID: 242783
           Summary: Validate array sizes in
                    WebGLRenderingContextBase::initializeNewContext
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: djg at apple.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220715/f0b08094/attachment.htm>


More information about the webkit-unassigned mailing list