[Bug 762766] PyMethodDef _gi_gst_functions array needs null object at the end
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Feb 27 11:55:03 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=762766
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |slomo at coaxion.net
Resolution|--- |FIXED
--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 58c324e0ccc21498a7e29d82dc00ed008050d26c
Author: Hanno Boeck <hanno at hboeck.de>
Date: Sat Feb 27 11:16:00 2016 +0000
NULL-terminate PyMethodDef array
PyMethodDef arrays are supposed to end with an entry full of NULL/0 values.
This is missing in gst-python in the file gstmodule.c.
This causes out of bounds memory reads which can be seen / tested by
compiling
gst-python with address sanitizer (-fsanitize=address in CFLAGS/LDFLAGS).
https://bugzilla.gnome.org/show_bug.cgi?id=762766
--
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