diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-14 03:54:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:30:10 +0200 |
commit | fc9dcfb9f23d4559f47471beeb492477639595b0 (patch) | |
tree | 80c6d00b6b01c2c3c6af1845144c7c3cf2c1f638 /libavutil/parseutils.h | |
parent | ed04cbf62b48ef987da547af1a1ba5216a14e037 (diff) | |
download | ffmpeg-fc9dcfb9f23d4559f47471beeb492477639595b0.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 'libavutil/parseutils.h')
0 files changed, 0 insertions, 0 deletions