libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps): Fix Timmeke Waymans...
authorAndy Wingo <wingo@pobox.com>
Thu, 13 Oct 2005 16:26:12 +0000 (16:26 +0000)
committerAndy Wingo <wingo@pobox.com>
Thu, 13 Oct 2005 16:26:12 +0000 (16:26 +0000)
commit8d0b8f242a683c0f36e61e557446adb29faa05fe
tree212927dd99e756cb4f7370364daa0dc163149811
parentd2cd55ab84fb2f26697abe5fab19441dbb6cd574
libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps): 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.
ChangeLog
libs/gst/dataprotocol/dataprotocol.c