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 754899 - dashdemux: add checks for memory allocation failure
dashdemux: add checks for memory allocation failure
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-11 16:36 UTC by Florin Apostol
Modified: 2015-09-11 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Florin Apostol 2015-09-11 16:36:59 UTC
The gstmpdparser.c file contains a lot of g_slice_new0 calls without checking the return code. There's one also in gstdashdemux.c file.
Comment 1 Tim-Philipp Müller 2015-09-11 16:49:36 UTC
I don't think g_slice_new0() can fail, same as g_malloc() ?
Comment 2 Sebastian Dröge (slomo) 2015-09-11 16:54:02 UTC
Yes, they will all abort() if allocation fails. There's not much point in checking for allocation failures anyway.
Comment 3 Florin Apostol 2015-09-11 16:55:08 UTC
ah, ok, I didn't knew that.