Files
FFmpeg/libavcodec
Aman Gupta 41ed2c3849 avcodec/cbs: ensure user_data is padded for GBC parsing
Fixes crash noticed in the cbs_userdata patchset.

====ERROR: AddressSanitizer: heap-buffer-overflow on address 0x609000026c89 at pc 0x00010725d37b bp 0x7ffeea04e750 sp 0x7ffeea04e748
READ of size 4 at 0x609000026c89 thread T0
    #0 0x10725d37a in ff_cbs_read_unsigned get_bits.h:274
    #1 0x1072d2767 in ff_cbs_read_a53_user_data cbs_misc_syntax_template.c:119
    #2 0x1078251a7 in h264_metadata_filter h264_metadata_bsf.c:595
    #3 0x105c1321d in output_packet ffmpeg.c:853

0x609000026c89 is located 1 bytes to the right of 8-byte region [0x609000026c80,0x609000026c88)
allocated by thread T0 here:
    #0 0x10aef08d7 in wrap_posix_memalign (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x578d7)
    #1 0x10aca95e6 in av_malloc mem.c:87
    #2 0x10ac545fe in av_buffer_allocz buffer.c:72
    #3 0x107263b27 in cbs_h264_read_nal_unit cbs_h264_syntax_template.c:722
    #4 0x10725b688 in cbs_read_fragment_content cbs.c:155

Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-10-15 11:52:54 -07:00
..
2018-09-23 15:25:50 +02:00
2018-04-30 21:50:12 +02:00
2018-02-09 22:10:56 +01:00
2018-08-28 04:25:35 +01:00
2018-10-15 01:19:45 +02:00
2018-10-03 20:48:49 -03:00
2018-10-12 09:48:07 -07:00
2018-08-08 00:13:13 +05:30
2018-07-22 10:19:03 +02:00
2018-09-23 14:42:34 +01:00
2018-09-23 14:42:34 +01:00
2018-07-18 13:59:25 +02:00
2018-04-19 22:59:40 +02:00
2017-11-09 19:49:32 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-04-25 23:09:47 +02:00
2018-09-30 22:23:02 +02:00
2018-09-09 11:35:14 +02:00
2018-09-23 15:25:50 +02:00
2018-05-25 20:09:22 +02:00
2017-12-10 14:43:01 +01:00
2018-09-09 22:58:26 +02:00
2018-02-24 17:06:31 +01:00
2017-12-11 00:42:26 -03:00
2018-10-03 20:48:49 -03:00
2017-12-10 14:43:01 +01:00
2018-01-03 13:00:06 -05:00
2018-10-03 20:48:49 -03:00
2018-03-29 00:05:52 -03:00
2018-08-22 11:36:19 +02:00
2018-05-10 23:03:50 +02:00
2018-09-14 21:36:21 +02:00
2018-05-05 21:35:31 +02:00
2018-03-07 22:26:53 +01:00
2018-02-24 04:50:55 +01:00
2018-09-08 21:21:50 +02:00
2018-02-21 23:38:30 +00:00
2018-04-25 22:07:20 +02:00
2017-12-19 23:21:59 +00:00
2018-09-30 22:23:02 +02:00
2017-12-19 23:21:59 +00:00