diff options
author | Sergey Volk <servolk@google.com> | 2016-09-07 14:05:35 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-27 13:42:11 +0200 |
commit | 7a3dc2f7b6c2fbe62aeed7839e736db395a6f76a (patch) | |
tree | 118bfc04f3a8d0ab570d8c1533b96060aa4f8340 /libavformat/matroska.h | |
parent | e91b7852dfae807b1996c30ec77e5bd7eb3a01a1 (diff) | |
download | ffmpeg-7a3dc2f7b6c2fbe62aeed7839e736db395a6f76a.tar.gz |
avformat/mov: Fix potential integer overflow in mov_read_keys
Actual allocation size is computed as (count + 1)*sizeof(meta_keys), so
we need to check that (count + 1) won't cause overflow.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 347cb14b7cba7560e53f4434b419b9d8800253e7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/matroska.h')
0 files changed, 0 insertions, 0 deletions