After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747439 - bufferlist: add check for writable object in insert or remove
bufferlist: add check for writable object in insert or remove
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-07 09:23 UTC by Prashant Gotarne
Modified: 2015-04-08 08:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bufferlist: added check for the writable object in insert and remove (1.29 KB, patch)
2015-04-07 09:25 UTC, Prashant Gotarne
committed Details | Review

Description Prashant Gotarne 2015-04-07 09:23:43 UTC
Add check for the writable object in gst_buffer_list_insert() and 
gst_buffer_list_remove() function.
Comment 1 Prashant Gotarne 2015-04-07 09:25:24 UTC
Created attachment 301053 [details] [review]
bufferlist: added check for the writable object in insert and remove

Addded check for the writable object in gst_buffer_list_insert() and 
gst_buffer_list_remove().

Please review the patch.
Comment 2 Tim-Philipp Müller 2015-04-08 08:57:26 UTC
Pushed, thanks:

commit a754eb45b939d4931266f407e8aa0c951c8cf0c6
Author: Prashant Gotarne <ps.gotarne@samsung.com>
Date:   Tue Apr 7 15:00:46 2015 +0530

    bufferlist: make sure list is writable before adding or removing buffers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747439