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 789806 - ges-layer: Added function guards to avoid NULL pointer dereferencing
ges-layer: Added function guards to avoid NULL pointer dereferencing
Status: RESOLVED DUPLICATE of bug 789521
Product: GStreamer
Classification: Platform
Component: gst-editing-services
1.12.3
Other All
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-02 07:26 UTC by Ashish Kumar
Modified: 2017-11-04 10:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] gstreamer-editing-services: ges-layer: Added function guards to avoid NULL pointer dereferencing (1.80 KB, patch)
2017-11-02 07:29 UTC, Ashish Kumar
none Details | Review
[PATCH] gstreamer-editing-services: ges-layer: Added function guards to avoid NULL pointer dereferencing (1.81 KB, patch)
2017-11-02 07:37 UTC, Ashish Kumar
none Details | Review

Description Ashish Kumar 2017-11-02 07:26:22 UTC
NULL pointer dereferencing must be handled for GESLayer in public APIs at below:-
File: gstreamer-editing-services-1.12.3/ges/ges-layer.c
Comment 1 Ashish Kumar 2017-11-02 07:29:55 UTC
Created attachment 362794 [details] [review]
[PATCH] gstreamer-editing-services: ges-layer: Added function guards to avoid NULL pointer dereferencing

Please review the patch attached to fix the issue and share your feedback.
Comment 2 Ashish Kumar 2017-11-02 07:37:57 UTC
Created attachment 362795 [details] [review]
[PATCH] gstreamer-editing-services: ges-layer: Added function guards to avoid NULL pointer dereferencing

Patch updated.
Comment 3 Tim-Philipp Müller 2017-11-04 10:34:30 UTC
Squash with the patch from bug #789521 please.

*** This bug has been marked as a duplicate of bug 789521 ***