[Webkit-unassigned] [Bug 159495] New: Return values of JSArray::createUninitialized (and related) are not consistently checked for nullptr

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 6 15:53:52 PDT 2016


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

            Bug ID: 159495
           Summary: Return values of JSArray::createUninitialized (and
                    related) are not consistently checked for nullptr
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

Various members of the JSArray class hierarchy provide some version of createUninitialized/tryCreateUninitialized. These implementations return nullptr when various bad conditions exist, such as requests greater than available memory, etc.

While we have nullptr checks in most places, there are a number of cases where these are not present. This makes it possible for arbitrary web content to crash WebKit through a nullptr dereference.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160706/2eed0773/attachment.html>


More information about the webkit-unassigned mailing list