Original commit message from CVS:
* gst/flv/gstflvparse.c: (FLV_GET_STRING):
Check if strings are valid UTF8 before using them.
+2008-12-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * gst/flv/gstflvparse.c: (FLV_GET_STRING):
+ Check if strings are valid UTF8 before using them.
+
2008-12-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/mxf/mxfparse.c:
}
memcpy (string, str, string_size);
+ if (!g_utf8_validate (string, string_size, NULL)) {
+ g_free (string);
+ return NULL;
+ }
return string;
}