Bug 151288 - Null-pointer dereference in WebCore::firstEditablePositionAfterPositionInRoot
Summary: Null-pointer dereference in WebCore::firstEditablePositionAfterPositionInRoot
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jiewen Tan
URL:
Keywords:
: 110350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-13 17:59 PST by Jiewen Tan
Modified: 2016-08-03 11:04 PDT (History)
6 users (show)

See Also:


Attachments
test cases and crash logs (215.12 KB, application/zip)
2015-11-13 17:59 PST, Jiewen Tan
no flags Details
Patch (8.82 KB, patch)
2015-11-13 18:27 PST, Jiewen Tan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2015-11-13 17:59:41 PST
Created attachment 265522 [details]
test cases and crash logs

NULL pointer deref crash in com.apple.WebCore: WebCore::firstEditablePositionAfterPositionInRoot + 26.

STEPS TO REPRODUCE
1. Any one of these:
./parseWebKit -t testcases/0.html
./parseWebKit -t testcases/1.html
./parseWebKit -t testcases/2.html
./parseWebKit -t testcases/3.html
./parseWebKit -t testcases/4.html

RESULTS
Crash due to NULL pointer dereference.
Comment 1 Jiewen Tan 2015-11-13 18:00:09 PST
<rdar://problem/23450367 >
Comment 2 Jiewen Tan 2015-11-13 18:00:36 PST
<rdar://problem/23450367>
Comment 3 Jiewen Tan 2015-11-13 18:27:59 PST
Created attachment 265525 [details]
Patch
Comment 4 WebKit Commit Bot 2015-11-16 11:04:06 PST
Comment on attachment 265525 [details]
Patch

Clearing flags on attachment: 265525

Committed r192477: <http://trac.webkit.org/changeset/192477>
Comment 5 WebKit Commit Bot 2015-11-16 11:04:08 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Brent Fulgham 2016-08-03 11:04:38 PDT
*** Bug 110350 has been marked as a duplicate of this bug. ***