gdp: Fix Timmeke Waymans bug.
authorAndy Wingo <wingo@pobox.com>
Thu, 13 Oct 2005 16:26:12 +0000 (16:26 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:57 +0000 (22:49 +0000)
commit8572c5fc766ca10ad38b9a7963ad516d969705af
treeef6a47836f09277afe79b30c8059eac5689364da
parent68158437c5ba665780e35ad466147f69366fa934
gdp: Fix Timmeke Waymans bug.

Original commit message from CVS:
2005-10-13  Andy Wingo  <wingo@pobox.com>

* libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
Fix Timmeke Waymans bug.
(gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
string of the proper length to gst_caps_from_string. There's a
potential for, before this fix, that this could cause someone
connecting over the network to cause a segfault if the payload is
not NUL-terminated.
gst/gdp/dataprotocol.c