W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 16 Sep 2011 11:45:12 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R4Wr2-0002sM-QP@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:18 UTC