diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2015-01-05 16:19:09 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-13 17:06:08 +0100 |
commit | b41bc711438abed7b67499ea4865127f97df6745 (patch) | |
tree | 1638808ec3c9a7b4d335568d0dad222985b85a04 /libavformat/utils.c | |
parent | 1b9a62c357b1e0045b5c1eb6fb6e5f3cdbd979ce (diff) | |
download | ffmpeg-b41bc711438abed7b67499ea4865127f97df6745.tar.gz |
mov: Avoid overflow with mov_metadata_raw()
The code previously added 1 to len without checking its size,
resulting in an overflow which can corrupt value[-1] -- which
may be used to store unaligned ptr information for certain
allocators.
Found-by: Paul Mehta <paul@paulmehta.com>
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions