Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5ad6e77a2dbae7d3b70f31fbbf712fec767fa63
      
https://github.com/WebKit/WebKit/commit/f5ad6e77a2dbae7d3b70f31fbbf712fec767fa63
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp

  Log Message:
  -----------
  Crash in WebCore::lastHyphenLocation
https://bugs.webkit.org/show_bug.cgi?id=309589

Reviewed by Adrian Perez de Castro.

Speculative fix. If the dictionary can't be opened for whatever reason, we end 
up
with a nullptr HyphenDictUniquePtr in HyphenationDictionary. This can be due to
broken symlinks, corrupted files, etc. Guarding this might fix the crash.

* Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp:
(WebCore::lastHyphenLocation):

Canonical link: https://commits.webkit.org/312894@main



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

Reply via email to