[Bug 14178] WebVTT cue discarded and then used (SIGSEGV)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14178

--- Comment #2 from Philip Jägenstedt <philipj@opera.com> 2011-09-16 11:45:12 UTC ---
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#webvtt-parser-algorithm

In step 42 and 44, the cue is discarded and there is a jump to step 51, where
cue is used. When implemented naively, this is a segfault.

The solution is to drop "discard cue and" from steps 42 and 44. This means that
empty cues will be allowed, which is IMO the sane behavior. (Dropping an entire
cue because it wasn't ended with a newline is not.)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 16 September 2011 11:45:15 UTC