[Webkit-unassigned] [Bug 232053] New: Negative length returned by TextUtil::midWordBreak with surrogate pair

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 20 15:44:32 PDT 2021


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

            Bug ID: 232053
           Summary: Negative length returned by TextUtil::midWordBreak
                    with surrogate pair
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gnavamarino at apple.com
                CC: mmaxfield at apple.com

In the case where the surrogate pair overlaps with the start position, the computed right location could end up being one less than the startPosition yielding a -1 length value for the returned TextUtil::MidWordBreak.

-- 
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/20211020/cdb85ce0/attachment.htm>


More information about the webkit-unassigned mailing list