diff options
author | Matt Wolenetz <wolenetz@google.com> | 2016-12-14 15:26:19 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-02-08 20:32:01 +0100 |
commit | 02a5e88ebc725b09f675bfcbbd4db1133e41708e (patch) | |
tree | 76ad6710bfd5e74ac0f4e5c2a8b5bc47b2cab347 /tests/filtergraphs | |
parent | b6efd022b77349f2797afe756b791e82ec4a1d96 (diff) | |
download | ffmpeg-02a5e88ebc725b09f675bfcbbd4db1133e41708e.tar.gz |
lavf/mov.c: Avoid heap allocation wrap in mov_read_uuid
Core of patch is from paul@paulmehta.com
Reference https://crbug.com/643951
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Check value reduced as the code does not support values beyond INT_MAX
Also the check is moved to a more common place and before integer truncation
(cherry picked from commit 2d453188c2303da641dafb048dc1806790526dfd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/filtergraphs')
0 files changed, 0 insertions, 0 deletions