diff options
author | Matt Wolenetz <wolenetz@google.com> | 2016-12-14 15:26:19 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-02-08 11:05:51 +0100 |
commit | dc1e099bf281e69d162bde02bd87112bbcb1ab5c (patch) | |
tree | c5e5a9adb477b013eb0a7c99dba9898e98524420 /libavcodec/xfaceenc.c | |
parent | 4f7064c9da35cd8156f6aee4a25e9b4e7f4ae607 (diff) | |
download | ffmpeg-dc1e099bf281e69d162bde02bd87112bbcb1ab5c.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 'libavcodec/xfaceenc.c')
0 files changed, 0 insertions, 0 deletions