Bug 116180

Summary: [Mac] media engine may deliver NULL in-band "cue"
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Severity: Normal CC: commit-queue, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Proposed patch none

Description Eric Carlson 2013-05-15 12:46:35 PDT
r145326 add a NULL check to InbandTextTrackPrivateAVF::processCue, but the debug-only logging added in r149187 is before the NULL check so it will crash when a NULL "cue" is delivered by the media engine.
Comment 1 Radar WebKit Bug Importer 2013-05-15 12:48:39 PDT
Comment 2 Eric Carlson 2013-05-15 12:54:27 PDT
Created attachment 201870 [details]
Proposed patch
Comment 3 Jer Noble 2013-05-15 12:56:17 PDT
Comment on attachment 201870 [details]
Proposed patch

Yay null checks!
Comment 4 WebKit Commit Bot 2013-05-15 15:38:21 PDT
Comment on attachment 201870 [details]
Proposed patch

Clearing flags on attachment: 201870

Committed r150153: <http://trac.webkit.org/changeset/150153>
Comment 5 WebKit Commit Bot 2013-05-15 15:38:23 PDT
All reviewed patches have been landed.  Closing bug.