rtpgstdepay: avoid buffer overread.
authorWim Taymans <wtaymans@redhat.com>
Thu, 20 Nov 2014 11:40:28 +0000 (12:40 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 20 Nov 2014 11:44:26 +0000 (12:44 +0100)
commit9d2902d978905acf3ecc88dd331b20072dc9eab0
tree5b02f9fc22b433f666ecbc0fd3ef8e9838ac7598
parent488d0b93cd52ac9a39e49e212701d2bbaa85fc0a
rtpgstdepay: avoid buffer overread.

Check that a caps event string is 0 terminated and the event string is
terminated with a ; to avoid buffer overreads.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=737591
gst/rtp/gstrtpgstdepay.c