[Webkit-unassigned] [Bug 242788] New: Don't nullify WebGLExtension::m_context on context loss.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 14 21:36:58 PDT 2022


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

            Bug ID: 242788
           Summary: Don't nullify WebGLExtension::m_context on context
                    loss.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          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

WebGLExtension::loseParentContext() nulls m_context pointer. In the GPUP world, where any GL call can result in a context loss, this behaviour can lead to null pointer access at random places inside a WebGL extension object after the code has checked for a valid m_context pointer at function entry.

-- 
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/c4c656c7/attachment-0001.htm>


More information about the webkit-unassigned mailing list