Bug 179103 - innerText->renderBox() can be null in HTMLTextFormControlElement::setSelectionRange
Summary: innerText->renderBox() can be null in HTMLTextFormControlElement::setSelectio...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-31 23:11 PDT by Ryosuke Niwa
Modified: 2017-11-15 12:29 PST (History)
5 users (show)

See Also:


Attachments
Fixes the bug (2.19 KB, patch)
2017-10-31 23:13 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2017-10-31 23:11:26 PDT
We're missing a null check.

<rdar://problem/35278949>
Comment 1 Ryosuke Niwa 2017-10-31 23:13:54 PDT
Created attachment 325546 [details]
Fixes the bug
Comment 2 WebKit Commit Bot 2017-11-01 14:26:36 PDT
Comment on attachment 325546 [details]
Fixes the bug

Clearing flags on attachment: 325546

Committed r224296: <https://trac.webkit.org/changeset/224296>
Comment 3 WebKit Commit Bot 2017-11-01 14:26:38 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2017-11-15 12:29:17 PST
<rdar://problem/35567635>