[Bug 681359] shmsink segfaults under certain conditions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 27 18:07:30 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=681359
  GStreamer | gst-plugins-bad | git

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> 2013-02-28 02:07:22 UTC ---
There were two bugs here, one in the allocator, which wasn't correctly checking
the end of the area in this case. So the first patch fixes the bug.

But then it would hang forever, so the second patch checks if it will be ever
possible to complete an allocation request.

commit 684811cddf60f43df14b2fd7a64207f5566b9a32
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Wed Feb 27 21:05:38 2013 -0500

    shmsink: Error out if memory area is smaller than buffer

commit 7a77b41d6a86e98ed60716ece907602ec530ac9c
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Wed Feb 27 20:57:56 2013 -0500

    shm: Make sure to not allocate blocks larger than the shared mem area

    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681359

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