diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-14 03:54:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-18 01:16:03 +0200 |
commit | 3c001b18cea759fa8b727aae33c31f9d55d59999 (patch) | |
tree | 9e2071b6ed10d1791c9890fd4523316784391f4e /libavcodec/sunrast.h | |
parent | 1a8265487b89790920b8eae85ad36cdd3f73feff (diff) | |
download | ffmpeg-3c001b18cea759fa8b727aae33c31f9d55d59999.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/sunrast.h')
0 files changed, 0 insertions, 0 deletions