diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2015-01-05 16:19:09 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-06 04:21:06 +0100 |
commit | 6832b1fde7b6c324362b908aafc3a74577987c07 (patch) | |
tree | ed6069e5d3b56b8865b3de2b6a19dce6561fc3f4 /libavformat/utils.c | |
parent | 0bdbf1aba3b155e14c7223302e6e2e9615e17d38 (diff) | |
download | ffmpeg-6832b1fde7b6c324362b908aafc3a74577987c07.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