avformat/mpegts: use a padded buffer in read_sl_header()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Oct 2014 03:14:08 +0000 (05:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Oct 2014 03:15:11 +0000 (05:15 +0200)
commit27f6da292118850ca7900de64d06b56e0ebb5070
tree4e92e7ce803dc26700ce93316c563e37aaf09973
parentc3d7f00ee3e09801f56f25db8b5961f25e842bd2
avformat/mpegts: use a padded buffer in read_sl_header()

Fixes overread
Fixes: asan_heap-oob_84f75d_8_asan_heap-oob_a2a00a_341_mbc.ts

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c