avformat/avidec: Use a buffer with sufficient padding in read_gab2_sub()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Mar 2014 03:15:40 +0000 (04:15 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Mar 2014 03:38:30 +0000 (04:38 +0100)
commit52a213865670ae69c1852d4d04cf41f8929abbd0
treeadb709d71d2fe225023b4eba84eb939d2b15b663
parent73f930ee71e0206243fdbbb7617f9721835aacea
avformat/avidec: Use a buffer with sufficient padding in read_gab2_sub()

Fixes out of array read
Fixes: 0ff9841c2a102f06e0d582bfc3376cbd-asan_heap-oob_495589_6836_cov_1763916974_mewmew_ssa.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avidec.c