diff options
author | Matt Wolenetz <wolenetz@google.com> | 2016-12-14 15:26:19 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-23 13:15:16 +0200 |
commit | 01308b492a0e713eee078514d7b3143650dc5886 (patch) | |
tree | f2883ba9e187e07679f862e707db0caaa8c132b5 /libavcodec/jrevdct.c | |
parent | bb7fd512391ef891a85edccd446954b6a7198fd2 (diff) | |
download | ffmpeg-01308b492a0e713eee078514d7b3143650dc5886.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/jrevdct.c')
0 files changed, 0 insertions, 0 deletions