[Bug 707933] muxed subtitles from matroska displayed in wrong encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 11 12:14:17 PDT 2013


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

--- Comment #2 from Seán de Búrca <leftmostcat at gmail.com> 2013-09-11 19:14:14 UTC ---
Created an attachment (id=254734)
 View: https://bugzilla.gnome.org/attachment.cgi?id=254734
 Review: https://bugzilla.gnome.org/review?bug=707933&attachment=254734

Fixes an off-by-one error in UTF-8 validation

The issue appears to be that map.size includes the terminating NUL for the
string, but g_utf8_validate() will return FALSE if it hits NUL before reading
max_len bytes. The attached patch fixes the issue for me.

-- 
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