[Bug 707933] matroskademux: Wrong UTF8 detection causes wrong detection of subtitle encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 19 13:11:53 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=707933
  GStreamer | gst-plugins-good | 1.0.10

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-09-19 20:11:50 UTC ---
I'm not 100% sure if this is correct in all cases.

If I'm not mistaken, this could fail in cases where there is no 0-terminator in
the data and the last character is a multi-byte character.

I don't see any code in matroskademux that ensures that these buffers contain a
0-terminator, nor do I see anything in the matroska specs saying whether there
should be a terminator or not. I would have expected no terminator to be the
normal case.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list