diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-14 03:54:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-17 16:11:19 +0100 |
commit | a3c66132d957db7f146601ac35f31944b0e5d98f (patch) | |
tree | c6f81559ee801c26a26d36a47ff21d159b91285c /libavformat/oggenc.c | |
parent | 6cfd81b04c7159450a01dadb748b7042559d1dca (diff) | |
download | ffmpeg-a3c66132d957db7f146601ac35f31944b0e5d98f.tar.gz |
avutil/common: Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c()
Fixes: 5567/clusterfuzz-testcase-minimized-5769966247739392
Fixes: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ab6f571ef71967da7c7c1cfba483d3597c7357d5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/oggenc.c')
0 files changed, 0 insertions, 0 deletions