[Bug 740784] subparse: fails to detect UTF-8 encoding
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Nov 30 07:46:20 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=740784
GStreamer | gst-plugins-base | git
--- Comment #12 from Athanasios Oikonomou <athoik at gmail.com> 2014-11-30 15:46:17 UTC ---
What happens when the buffer contains multiple NULs?
Maybe it's better to check up to the first occurence of NUL?
gsize check_len = strnlen(str, len);
len = check_len < len ? check_len : len;
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gstreamer-bugs
mailing list