structure: don't overread input when searching for "
authorWim Taymans <wtaymans@redhat.com>
Thu, 20 Nov 2014 12:34:32 +0000 (13:34 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 20 Nov 2014 12:37:08 +0000 (13:37 +0100)
commit5cf630697c55c49c60862494712c9f32f55fcf0f
tree1e01f12709540c1114a9eca67451b85e2c9082e6
parentd4c551a29250723c44a5de8283c46db63b1932f5
structure: don't overread input when searching for "

When searching for the string terminator don't read past the ending
0-byte when escaping characters.
Add unit test for various escaping cases.
gst/gststructure.c
tests/check/gst/gststructure.c