diff options
author | Sergey Volk <[email protected]> | 2016-09-07 14:05:35 -0700 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2016-09-28 17:11:52 +0200 |
commit | 9259b7f38e008720096532cd4e666a9889f3c578 (patch) | |
tree | ccee73ce9c408f75c6ddc1356cdbb8e124939e62 /tests/api/api-codec-param-test.c | |
parent | cb8a29f872909aa88f34b1b9b8e4a355af889ee6 (diff) |
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 <[email protected]>
(cherry picked from commit 347cb14b7cba7560e53f4434b419b9d8800253e7)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'tests/api/api-codec-param-test.c')
0 files changed, 0 insertions, 0 deletions