Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5aedb82710ba578f61501106e78f6b25b7f7a558
      
https://github.com/WebKit/WebKit/commit/5aedb82710ba578f61501106e78f6b25b7f7a558
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-07-03 (Fri, 03 Jul 2026)

  Changed paths:
    A LayoutTests/fonts/font-face-load-crash-expected.txt
    A LayoutTests/fonts/font-face-load-crash.html
    M Source/WebCore/css/CSSFontFace.cpp

  Log Message:
  -----------
  Use-after-free in CSSFontFace::setStatus via CSSFontFace::load
https://bugs.webkit.org/show_bug.cgi?id=313577
rdar://175766724

Reviewed by Anne van Kesteren.

Fixed the bug by deploying a smart pointer.

Test: fonts/font-face-load-crash.html

* LayoutTests/fonts/font-face-load-crash-expected.txt: Added.
* LayoutTests/fonts/font-face-load-crash.html: Added.
* Source/WebCore/css/FontFace.cpp:
(WebCore::FontFace::loadForBindings):

Originally-landed-as: 305413.775@safari-7624-branch (d90247302507). 
rdar://180438594
Canonical link: https://commits.webkit.org/316482@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to