[Webkit-unassigned] [Bug 251130] New: OffscreenCanvas::transferToImageBitmap doesn't restrict enforce size restrictions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 24 20:27:58 PST 2023


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

            Bug ID: 251130
           Summary: OffscreenCanvas::transferToImageBitmap doesn't
                    restrict enforce size restrictions
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattwoodrow at apple.com
                CC: dino at apple.com

We share code with HTMLCanvasElement via CanvasBase for allocating the backing store, with max size restrictions.

transferToImageBitmap can sometimes allocate a new buffer (if there isn't one already), and it currently isn't using the same code, so doesn't have the same restrictions.

-- 
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/20230125/4f616555/attachment.htm>


More information about the webkit-unassigned mailing list