gstreamer/gst
Tim-Philipp Müller ea62c96b94 miniobject: don't modify memory if it's clearly not a valid miniobject
Add back function guard that checks the refcount in a read-only
operation first, and bail out without modifying the passed-in
memory if it's clearly not a valid mini object. Otherwise we
probably cause more harm than good. We keep the second sanity
check based on the 'real refcount' at the time of the unref
around for now too.

https://bugzilla.gnome.org/show_bug.cgi?id=784383
2017-07-15 11:57:43 +01:00
..
parse meson: find python3 via python3 module 2017-07-07 12:07:09 +01:00
printf meson: require meson 0.36 and use new pic arg on static libs 2016-11-14 19:21:13 +00:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02:00
gettext.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat.c Whenever we include windows.h, also define WIN32_LEAN_AND_MEAN 2016-02-20 10:07:42 +00:00
glib-compat.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gst-i18n-app.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst-i18n-lib.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst.c gst: check non-null before dereference 2017-04-28 21:01:43 +02:00
gst.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gst_private.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstallocator.c allocator: ref_sink() the global sysmem allocator after creation 2017-05-17 10:40:37 +03:00
gstallocator.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstatomicqueue.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstatomicqueue.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbin.c bin: Put correct annotations on gst_bin_add() too 2017-05-31 20:40:00 +03:00
gstbin.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbuffer.c buffer: Add GstReferenceTimestampMeta 2017-05-12 11:43:02 +02:00
gstbuffer.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbufferlist.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstbufferlist.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbufferpool.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gstbufferpool.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbus.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstbus.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcaps.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcaps.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcapsfeatures.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcapsfeatures.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstchildproxy.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstchildproxy.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstclock.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcompat.h Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstconfig.h.in Also use default visibility for plugins symbol 2017-05-16 13:31:06 -04:00
gstcontext.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontext.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcontrolbinding.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontrolbinding.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcontrolsource.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstcontrolsource.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdatetime.c datetime: fix potential out-of-bound read on malformed datetime string 2017-01-15 11:53:41 +00:00
gstdatetime.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdebugutils.c debugutils: add missing E character to the legend 2017-05-19 19:22:27 +02:00
gstdebugutils.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdevice.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstdevice.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdevicemonitor.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gstdevicemonitor.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdeviceprovider.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstdeviceprovider.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdeviceproviderfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdeviceproviderfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdynamictypefactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdynamictypefactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstelement.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstelement.h element: Add missing values for "to same" state changes 2017-06-20 09:33:25 -04:00
gstelementfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstelementfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstelementmetadata.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstenumtypes.c.template meson: use gnome.mkenums() with template files for enum file gen 2016-12-22 11:35:04 +00:00
gstenumtypes.h.template gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsterror.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsterror.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstevent.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstevent.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstformat.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstformat.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstghostpad.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstghostpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstinfo.c info: Move debug output in for_each_threshold_by_entry() to TRACE level 2017-04-19 17:32:17 +01:00
gstinfo.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstiterator.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstiterator.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmacros.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstmemory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstmemory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmessage.c message: Don't pass a NULL debug string to g_utf8_validate() 2017-05-02 14:35:50 +03:00
gstmessage.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmeta.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstmeta.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstminiobject.c miniobject: don't modify memory if it's clearly not a valid miniobject 2017-07-15 11:57:43 +01:00
gstminiobject.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstobject.c object: Add missing annotations to get_value_array() / get_value_g_array() 2017-05-22 12:01:41 +03:00
gstobject.h gst: add GST_DEPRECATED_FOR() and also export deprecated symbols 2017-05-15 23:14:20 +01:00
gstpad.c pad: add since marker to docs for new API 2017-02-24 21:35:27 +00:00
gstpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpadtemplate.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstpadtemplate.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstparamspecs.c paramspec: Fix array validation logic 2017-03-24 13:43:34 -04:00
gstparamspecs.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstparse.c parse: Make gst_parse_context_copy() public for bindings 2017-05-20 19:43:18 +03:00
gstparse.h parse: Make gst_parse_context_copy() public for bindings 2017-05-20 19:43:18 +03:00
gstpipeline.c element: Add missing values for "to same" state changes 2017-06-20 09:33:25 -04:00
gstpipeline.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstplugin.c plugin: clarify code that deduces plugin name from file name 2017-07-05 11:15:43 +01:00
gstplugin.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpluginfeature.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpluginfeature.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpluginloader.c win32: find plugin scanner in libexecdir subdir as configured 2017-07-14 16:13:12 +01:00
gstpluginloader.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstpoll.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpoll.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpreset.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpreset.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstprotection.c protection: add function to filter system ids 2017-06-28 10:52:11 +01:00
gstprotection.h protection: add function to filter system ids 2017-06-28 10:52:11 +01:00
gstquark.c events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquark.h events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquery.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstquery.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstregistry.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstregistry.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstregistrybinary.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstregistrybinary.h tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstregistrychunks.c registrychunk: Fix leak in failed case of reading plugin dependency string 2017-06-20 10:55:49 +03:00
gstregistrychunks.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstsample.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstsample.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstsegment.c gst: add GST_DEPRECATED_FOR() and also export deprecated symbols 2017-05-15 23:14:20 +01:00
gstsegment.h gst: add GST_DEPRECATED_FOR() and also export deprecated symbols 2017-05-15 23:14:20 +01:00
gststreamcollection.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gststreamcollection.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gststreams.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gststreams.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gststructure.c structure: Don't print warning on NULL strings or pointers 2017-04-06 19:25:06 -04:00
gststructure.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstsystemclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstsystemclock.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttaglist.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttaglist.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttagsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttagsetter.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttask.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttask.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttaskpool.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttaskpool.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttoc.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttoc.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttocsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttocsetter.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracer.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttracer.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttracerfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerrecord.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gsttracerrecord.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerutils.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gsttracerutils.h tracing: fix build with tracer hooks disabled 2017-07-05 13:17:49 +01:00
gsttypefind.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttypefind.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttypefindfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttypefindfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsturi.c meson: fix tests build with --werror 2017-06-15 10:53:11 +01:00
gsturi.h meson: fix tests build with --werror 2017-06-15 10:53:11 +01:00
gstutils.c utils: Add a function to get a string representation of GstStateChange 2017-06-20 09:33:31 -04:00
gstutils.h utils: Add a function to get a string representation of GstStateChange 2017-06-20 09:33:31 -04:00
gstvalue.c value: Accept NULL as a structure 2017-04-10 12:37:12 -04:00
gstvalue.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstversion.h.in gstversion: Add missing include in .in file. 2015-08-15 13:26:12 +02:00
Makefile.am gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
meson.build meson: add option to disable tracer hooks 2017-07-05 13:27:48 +01:00