Bug 159842 - [macOS] Work around crash in [NSAttributedString nextWordFromIndex:forward:]
Summary: [macOS] Work around crash in [NSAttributedString nextWordFromIndex:forward:]
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on:
Blocks: 159755
  Show dependency treegraph
 
Reported: 2016-07-15 15:54 PDT by Myles C. Maxfield
Modified: 2023-10-18 21:57 PDT (History)
2 users (show)

See Also:


Attachments
Patch (70.45 KB, patch)
2016-07-15 15:56 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (93.31 KB, patch)
2016-07-15 17:08 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2016-07-15 15:54:58 PDT
[macOS] Work around crash in [NSAttributedString nextWordFromIndex:forward:]
Comment 1 Myles C. Maxfield 2016-07-15 15:56:39 PDT
Created attachment 283806 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2016-07-15 15:58:46 PDT
<rdar://problem/27382222>
Comment 3 Jon Lee 2016-07-15 16:17:20 PDT
Comment on attachment 283806 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=283806&action=review

> Source/WebCore/platform/text/mac/TextBoundaries.mm:235
> +    // Hack around <rdar://problem/27380532>

Maybe "FIXME: Remove once <rdar://problem/27380532> is fixed"?
Comment 4 Myles C. Maxfield 2016-07-15 17:08:51 PDT
Created attachment 283821 [details]
Patch
Comment 5 WebKit Commit Bot 2016-07-15 17:56:03 PDT
Comment on attachment 283821 [details]
Patch

Clearing flags on attachment: 283821

Committed r203314: <http://trac.webkit.org/changeset/203314>
Comment 6 WebKit Commit Bot 2016-07-15 17:56:07 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Myles C. Maxfield 2016-07-15 19:51:07 PDT
Committed r203319: <http://trac.webkit.org/changeset/203319>