Bug 133064

Summary: [Mac] Crash during scroll when latched
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebCore Misc.Assignee: Brent Fulgham <bfulgham>
Severity: Normal CC: ap, bfulgham, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch simon.fraser: review+

Description Brent Fulgham 2014-05-18 22:38:23 PDT
It's possible to be latched to a DOM element, then attempt a new scroll event where the hit test for the mouse event returns NULL for the target element. When this happens, the NULL element is dereferenced without a NULL check resulting in a crash.

This patch corrects this mistake.
Comment 1 Brent Fulgham 2014-05-18 22:39:00 PDT
Comment 2 Brent Fulgham 2014-05-18 22:47:11 PDT
Created attachment 231676 [details]
Comment 3 Brent Fulgham 2014-05-18 22:49:32 PDT
Wow, Simon. That was fast!
Comment 4 Brent Fulgham 2014-05-18 22:51:03 PDT
Committed r169037: <http://trac.webkit.org/changeset/169037>