avcodec/utils: Check that the data is complete in avpriv_bprint_to_extradata()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 13:45:30 +0000 (14:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 13:48:04 +0000 (14:48 +0100)
commit3d5d95db3f5d8e2093e9e19d0c46e86f54ed2a5d
treec9036152a6a6eb219bb03258b1e07eee1c55cc7f
parent0eecf40935b22644e6cd74c586057237ecfd6844
avcodec/utils: Check that the data is complete in avpriv_bprint_to_extradata()

Fixes out of array read
Fixes: asan_heap-oob_4d2250_814_cov_2745172097_JACOsub_capability_tester.jss
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c