[Webkit-unassigned] [Bug 255785] New: Do not deref CreationData's buffer when Cairo font is destroyed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 21 06:49:24 PDT 2023


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

            Bug ID: 255785
           Summary: Do not deref CreationData's buffer when Cairo font is
                    destroyed.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vitaly at igalia.com
                CC: bugs-noreply at webkitgtk.org

Since 263084 at main `FontCustomPlatformData` takes `FontPlatformData::CreationData` instead of `FragmentedSharedBuffer`.
The buffer is now a reference counted field of `FontPlatformData::CreationData` struct and will be automatically dereferenced when `FontCustomPlatformData` is destroyed.
It is an error to manually dereference it using Cairo font destroy function.

-- 
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/20230421/7095782b/attachment.htm>


More information about the webkit-unassigned mailing list