Skip to content

gstvalue: don't write to const char *

Mathieu Duponchelle requested to merge meh/gstreamer:value-fix-parsing into master

Our various deserializing functions require NULL terminators to not over consume substrings (eg fields of an array). Instead of writing a NULL terminator to the passed-in string, which may result in segfaults, make a copy of the substring we're interested in.

Fixes #446 (closed)

Merge request reports