[gstreamer-bugs] [Bug 410772] Crash copying a GstNetBuffer

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 22 05:00:08 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=410772

  GStreamer | gst-plugins-base | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.12




------- Comment #1 from Tim-Philipp Müller  2007-02-22 12:58 UTC -------

 2007-02-22  Tim-Philipp Müller  <tim at centricular dot net>

        * 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.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list