aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2015-01-05 16:34:17 -0800
committerMichael Niedermayer <michaelni@gmx.at>2015-01-06 05:49:08 +0100
commit13d4d8a9c6bb6acdec8be0638299d0ce08bfd061 (patch)
treecd511e75b214ec6c99acfabdf5e7e4d672d2b826 /cmdutils.c
parent71d0cfff15ea89b63124a9eaf8032c27d7f2a99a (diff)
downloadffmpeg-13d4d8a9c6bb6acdec8be0638299d0ce08bfd061.tar.gz
mov: Fix negative size calculation in mov_read_default().
The previous code assumed if an atom was marked with a 64-bit size extension, it actually had that data available. The new code verfies there's enough data in the atom for this to be done. Failure to verify causes total_size > atom.size which will result in negative size calculations later on. Found-by: Paul Mehta <paul@paulmehta.com> Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3ebd76a9c57558e284e94da367dd23b435e6a6d0) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions