aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mms.c
diff options
context:
space:
mode:
authorJohn Stebbins <jstebbins@jetheaddev.com>2017-11-26 07:32:30 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-12-07 23:38:06 +0100
commitf7357facd8334863fd665b58d9b5487df4e9f583 (patch)
tree7dcbc9efd56b8591ff28c606bd7f64e920413254 /libavformat/mms.c
parented87667bd3d4bf45fb1bc173d2ba28b17add9145 (diff)
downloadffmpeg-f7357facd8334863fd665b58d9b5487df4e9f583.tar.gz
lavf/mov: fix huge alloc in mov_read_ctts
An invalid file may cause huge alloc. Delay expansion of ctts entries until the number of samples is known in mov_build_index. Fixes: 23 Found-by: zhao dongzhuo, AD-lab of Venustech Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 2d015d3bf9fed59c65a3819a35fedbb8b7dde623) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mms.c')
0 files changed, 0 insertions, 0 deletions