OSDN Git Service

avformat/mov: Check ctts_count before use
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Feb 2015 12:00:51 +0000 (13:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Feb 2015 12:31:34 +0000 (13:31 +0100)
commitbbbc8c618884a838c00faaaa91898017dd431117
tree323d3222ec43df51473734b443e5399390f236cd
parent1f5c7781e63d6519192ada59c1e36bcecc92791d
avformat/mov: Check ctts_count before use

Fixes out of array read
Fixes: asan_heap-oob_ae74b5_3610_cov_1739568095_test.3g2

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