diff options
author | Matt Wolenetz <wolenetz@google.com> | 2016-12-14 15:26:19 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-02-08 04:08:48 +0100 |
commit | ed2572b9c8f885e2a4764d2e34604442a71899a1 (patch) | |
tree | ea9df753faeac5ddc9b13638e1344a7f7c3d6fbb /libavcodec/mss12.c | |
parent | cf8e004a51b08c6e8ceaeebca85ab84c7ed0b4cf (diff) | |
download | ffmpeg-ed2572b9c8f885e2a4764d2e34604442a71899a1.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/mss12.c')
0 files changed, 0 insertions, 0 deletions