[Webkit-unassigned] [Bug 82859] New: Missing NULL check for vendor string from glGetString(GL_VENDOR)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 2 00:03:28 PDT 2012


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

           Summary: Missing NULL check for vendor string from
                    glGetString(GL_VENDOR)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: srikumar.b at gmail.com
                CC: srikumar.b at gmail.com


glGetString(GL_VENDOR) is possible to return NULL value but in Webkit we are not validating the return value before we call strstr() to compare the vendor list. Hence webkit crashes when it does not get vendor string response from openGL call glGetString(GL_VENDOR).

Refer to http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml for glGetString() description.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list