[Bug 675640] shmsink memory corruption when a client disconnects (more than one client)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 7 18:01:48 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=675640
  GStreamer | gst-plugins-bad | 0.10.x

Olivier Crete (Tester) <olivier.crete> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |olivier.crete at ocrete.ca
         Resolution|                            |FIXED

--- Comment #3 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2012-05-08 01:01:37 UTC ---
This example works fine for me.. but you're patch looks good.

I modified it slightly to run loop before removing the reference and to check
that the client was in there and assert() if it wasn't.


commit cf8f7a25a0c650b5a6e729ed6e45092a2ba2c8b9
Author: Aleix Conchillo Flaque <aleix at oblong.com>
Date:   Mon May 7 13:13:34 2012 -0700

    shmsink: fix memory corruption when a client disconnects (fixes #675640)

    Also, add a check to make sure a client isn't dumped twice

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list