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 747392 - memory: add check for memory writability in resize()
memory: add check for memory writability in resize()
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-06 04:44 UTC by Prashant Gotarne
Modified: 2015-04-06 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
memory: added check for writablity in resize (782 bytes, patch)
2015-04-06 04:45 UTC, Prashant Gotarne
committed Details | Review

Description Prashant Gotarne 2015-04-06 04:44:35 UTC
gst_memory_resize() should be checked for writable object before modification
Comment 1 Prashant Gotarne 2015-04-06 04:45:44 UTC
Created attachment 300998 [details] [review]
memory: added check for writablity in resize

Check for writable object is added in the gst_memory_resize().
Please review the patch.
Comment 2 Tim-Philipp Müller 2015-04-06 12:54:50 UTC
Thanks, pushed:

commit 6a8f65936b87c240d31ad9664a45f7ef9fe882b3
Author: Prashant Gotarne <ps.gotarne@samsung.com>
Date:   Mon Apr 6 10:18:15 2015 +0530

    memory: add check for writablity in resize
    
    Add guard to gst_memory_resize() to make sure the
    memory to be resized is actually writable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747392