[Webkit-unassigned] [Bug 22132] New: All calls of ImageBuffer::create should null check the return value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 7 15:53:35 PST 2008


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

           Summary: All calls of ImageBuffer::create should null check the
                    return value
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: brettw at chromium.org


Some calls of this function do not check the return value, or ASSERT that the
return value is non-null. This can fail for a variety of legitimate reasons
(the bitmap could be quite large in some cases, and there may not be enough
resources to allocate it).

One example is CanvasRenderingContext2D::drawTextInternal which should just
return if the call fails.


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



More information about the webkit-unassigned mailing list