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 21:52:29 +0000 (23:52 +0200)
commit32e8922faf2e86d6db1900eb6ab9a0ad0c1542d7
treee4148f2775001207cb133fa83301a1c947930412
parent32dbd1f3428b7d071e5d05c19b79c56e59bacdbe
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>
(cherry picked from commit 27f6da292118850ca7900de64d06b56e0ebb5070)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c