diff options
author | John Stebbins <jstebbins@jetheaddev.com> | 2017-11-26 07:32:30 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-12-07 23:38:06 +0100 |
commit | f7357facd8334863fd665b58d9b5487df4e9f583 (patch) | |
tree | 7dcbc9efd56b8591ff28c606bd7f64e920413254 /libavdevice | |
parent | ed87667bd3d4bf45fb1bc173d2ba28b17add9145 (diff) | |
download | ffmpeg-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 'libavdevice')
0 files changed, 0 insertions, 0 deletions