diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-14 03:54:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-19 02:52:16 +0100 |
commit | e38e2d6533d7086527ad8fd5a47d6294818798b2 (patch) | |
tree | 67ad83ac3c389942651c4d3cc881b0e914b246ff /libavcodec/celp_math.c | |
parent | 340c315c671efe137651d75da351c0f292d234fb (diff) | |
download | ffmpeg-e38e2d6533d7086527ad8fd5a47d6294818798b2.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 'libavcodec/celp_math.c')
0 files changed, 0 insertions, 0 deletions