gstreamer/gst-libs/gst/video
Roman Sivriver 2b25862973 video-and: Fix buffer overflow detected by asan
gst_meta_api_type_register() assumes that the last tags element is null, but it wasn't

==17422==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7f4e2a67c998 at pc 0x7f4e2a0c92ac bp 0x7ffcc41f80b0 sp 0x7ffcc41f80a0
READ of size 8 at 0x7f4e2a67c998 thread T0
    #0 0x7f4e2a0c92ab in gst_meta_api_type_register ../subprojects/gstreamer/gst/gstmeta.c:94
    #1 0x7f4e2a5582c3 in gst_video_afd_meta_api_get_type ../subprojects/gst-plugins-base/gst-libs/gst/video/video-anc.c:1146
    #2 0x404c7c in invoke_get_type (/home/ubuntu/gst-build/build/tmp-introspect5gv1rovo/GstVideo-1.0+0x404c7c)
    #3 0x406b5c in dump_irepository (/home/ubuntu/gst-build/build/tmp-introspect5gv1rovo/GstVideo-1.0+0x406b5c)
    #4 0x407089 in main (/home/ubuntu/gst-build/build/tmp-introspect5gv1rovo/GstVideo-1.0+0x407089)
    #5 0x7f4e295b4b6a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26b6a)
    #6 0x404479 in _start (/home/ubuntu/gst-build/build/tmp-introspect5gv1rovo/GstVideo-1.0+0x404479)

0x7f4e2a67c998 is located 40 bytes to the left of global variable 'tags' defined in '../subprojects/gst-plugins-base/gst-libs/gst/video/video-anc.c:1232:25' (0x7f4e2a67c9c0) of size 24
0x7f4e2a67c998 is located 0 bytes to the right of global variable 'tags' defined in '../subprojects/gst-plugins-base/gst-libs/gst/video/video-anc.c:1141:25' (0x7f4e2a67c980) of size 24
SUMMARY: AddressSanitizer: global-buffer-overflow ../subprojects/gstreamer/gst/gstmeta.c:94 in gst_meta_api_type_register
2019-06-17 22:03:34 -04:00
..
.gitignore Update .gitignore 2012-08-08 09:06:30 +01:00
colorbalance.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
colorbalance.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
colorbalancechannel.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
colorbalancechannel.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
convertframe.c video: fix pipeline leak in gst_video_convert_sample_async() 2019-03-06 10:04:48 +00:00
gstvideoaffinetransformationmeta.c Added GI annotation for gstvideoaffinetransformationmeta apply_matrix 2019-06-02 16:42:57 +00:00
gstvideoaffinetransformationmeta.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideoaggregator.c doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
gstvideoaggregator.h videoaggregator: Add Since: 1.16 markers to all public structs 2019-04-23 12:28:26 +00:00
gstvideodecoder.c videodecoder: Fix typo in documentation 2019-06-15 10:44:48 +09:00
gstvideodecoder.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
gstvideoencoder.c doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
gstvideoencoder.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
gstvideofilter.c video-filter: Support allocation pool with pool object 2017-09-06 14:20:46 -04:00
gstvideofilter.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
gstvideometa.c gstvideometa: fix annotation 2019-04-08 21:54:00 +02:00
gstvideometa.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideopool.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstvideopool.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
gstvideosink.c videosink: Set processing deadline to 15ms 2018-07-07 08:59:30 -04:00
gstvideosink.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
gstvideotimecode.c videotimecode: Mark latest_daily_jame as allow-none in init\() 2019-05-03 09:58:04 -04:00
gstvideotimecode.h videotimecode: Add API for initializing from a GDateTime with validation 2018-12-19 23:11:24 +00:00
gstvideoutils.c video:doc: Remove duplicated gstvideoutils SECTION 2019-05-13 17:00:00 -04:00
gstvideoutils.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
gstvideoutilsprivate.c videoutilsprivate: fill more video fields. 2017-08-14 12:42:57 +02:00
gstvideoutilsprivate.h videoencoder/decoder: Move conversion utility functions to a common header and use consistently in encoder/decoder 2016-07-04 10:47:36 +02:00
Makefile.am video: Generate GTypes for videotimecode enums 2019-05-03 09:58:04 -04:00
meson.build meson: Add variables for gir files 2019-05-13 10:19:22 -04:00
navigation.c navigation: Add some validation while sending key/mouse events 2017-06-06 11:12:18 +05:30
navigation.h libs: Fix various Since markers 2019-04-23 12:28:26 +00:00
TODO video: Base classes for video decoders and encoders 2012-04-24 17:03:40 +02:00
video-anc.c video-and: Fix buffer overflow detected by asan 2019-06-17 22:03:34 -04:00
video-anc.h video-anc: add AFD/Bar support 2019-05-02 19:59:29 +00:00
video-blend.c video: Handle errors in gst_video_info_set_format() / gst_video_info_align() 2016-11-24 15:06:39 +02:00
video-blend.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-chroma.c video: Silence "restrict" issues with ORC code 2018-05-05 10:27:12 +02:00
video-chroma.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-color.c video-color: Deal with NULL colorimetry while converting from string 2019-05-24 16:37:14 +02:00
video-color.h video-color: Add ARIB STD-B67 transfer chracteristic function 2019-05-24 09:30:40 +00:00
video-converter.c doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
video-converter.h doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
video-dither.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
video-dither.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-event.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
video-event.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-format.c video: Add RGB10A2_LE pixel format 2019-05-05 08:12:29 +00:00
video-format.h video: Add RGB10A2_LE pixel format 2019-05-05 08:12:29 +00:00
video-frame.c video: Safe guard info->finfo when mapping a frame 2018-04-21 20:47:31 -03:00
video-frame.h video-frame: update docs 2019-05-02 16:36:38 +00:00
video-hdr.c video: Add new APIs for HDR information representation 2019-04-30 15:45:44 +00:00
video-hdr.h video: Add new APIs for HDR information representation 2019-04-30 15:45:44 +00:00
video-info.c docs: Add some missing sections documentation 2019-05-13 10:19:22 -04:00
video-info.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
video-multiview.c libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
video-multiview.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-orc-dist.c video: update orc generated files for new functions 2019-03-21 23:05:09 +00:00
video-orc-dist.h video: update orc generated files for new functions 2019-03-21 23:05:09 +00:00
video-orc.orc video: add VUYA pixel format 2019-03-21 23:05:09 +00:00
video-overlay-composition.c video-overlay-composition: Optimize premultiplication/unpremultiplication loops 2018-12-07 19:23:49 +02:00
video-overlay-composition.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally 2019-06-04 20:31:09 -04:00
video-prelude.h video: Add deprecation macros 2018-12-19 23:11:24 +00:00
video-resampler.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
video-resampler.h libs: Fix various Since markers 2019-04-23 12:28:26 +00:00
video-scaler.c doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
video-scaler.h doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
video-tile.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
video-tile.h video: Set correct value in g-i annotations for tile related mask constants 2018-03-21 10:28:05 +02:00
video.c video: Fix/Add section documentation 2018-04-02 16:49:19 +02:00
video.h video: Add new APIs for HDR information representation 2019-04-30 15:45:44 +00:00
videodirection.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
videodirection.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
videoorientation.c video: fix some GIR annotations 2018-04-23 19:33:19 +02:00
videoorientation.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
videooverlay.c doc: Fix some gtk-doc comments 2019-05-13 11:34:08 -04:00
videooverlay.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00