samiparse: Check that the string has a non-zero length before overwriting the last...
authorSebastian Dröge <sebastian@centricular.com>
Fri, 20 Jan 2017 06:02:38 +0000 (08:02 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 20 Jan 2017 06:03:33 +0000 (08:03 +0200)
commitd894c19db62ce87115317616f0a5d4482d6332c4
tree26ba20154ae310ca06d866a9074a3296d6cc8b2f
parentef55c8a6b7ca746b2d1b55129a404eb5f58cf140
samiparse: Check that the string has a non-zero length before overwriting the last byte with '\0'

https://bugzilla.gnome.org/show_bug.cgi?id=777502
gst/subparse/samiparse.c