gst-libs/gst/netbuffer/gstnetbuffer.c: Fix copying of GstNetBuffer (would crash befor...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 22 Feb 2007 12:57:47 +0000 (12:57 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 22 Feb 2007 12:57:47 +0000 (12:57 +0000)
commit011471dbbb3a53ac3ee642617e7f169441640b9c
treec9902f34b05a44df08b0bc79e23f61eb19b23407
parentd9b6796d91e59ee23563c78a1746cc4882b8e0b7
gst-libs/gst/netbuffer/gstnetbuffer.c: Fix copying of GstNetBuffer (would crash before, or at least lead to invalid m...

Original commit message from CVS:
* gst-libs/gst/netbuffer/gstnetbuffer.c:
(notgst_buffer_copy_fields_in_place), (gst_netbuffer_copy):
Fix copying of GstNetBuffer (would crash before, or at least lead to
invalid memory access, #410772), for now by copying the GstBuffer copy
code from the core over here so we can copy the GstBuffer fields on a
provided buffer instance (of type GstNetBuffer in this case). Would be
better to fix this with some support by the core though (and in the long
run change the broken GstBuffer/GstMiniObject copy semantics, #393099).
* tests/check/Makefile.am:
Enable unit test for GstNetBuffer.
ChangeLog
gst-libs/gst/netbuffer/gstnetbuffer.c
tests/check/Makefile.am