[webkit-changes] [WebKit/WebKit] d8b017: Resolve WebCore::findWordBoundary crash

Abigail Fox noreply at github.com
Tue May 21 14:49:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8b017db8ea641cbe3552c87f16a741eaddb74be
      https://github.com/WebKit/WebKit/commit/d8b017db8ea641cbe3552c87f16a741eaddb74be
  Author: Abigail Fox <abigail_fox at apple.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M Source/WebCore/platform/text/mac/TextBoundaries.mm
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/Tests/WebCore/TextBoundaries.cpp

  Log Message:
  -----------
  Resolve WebCore::findWordBoundary crash
rdar://128246589
https://bugs.webkit.org/show_bug.cgi?id=273907

Reviewed by Wenson Hsieh.

Fix empty string case to resolve findWordBoundary crash

Combined changes:
* Source/WebCore/platform/text/mac/TextBoundaries.mm:
(WebCore::findWordBoundary):

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



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


More information about the webkit-changes mailing list