diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-14 15:41:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-15 22:31:13 +0200 |
commit | 9eaf9088978acecb32dd70a994d4a244ce9b1c59 (patch) | |
tree | 14aee238335a60ea030841703972c5b8635c3ea6 /libavcodec/libxavs.c | |
parent | 1ca157b0267e46d849e3b4001d6c0f87ed82ad53 (diff) | |
download | ffmpeg-9eaf9088978acecb32dd70a994d4a244ce9b1c59.tar.gz |
avutil/common: Fix undefined behavior in av_clip_uintp2_c()
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: 8521/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5639024952737792
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 aa41d322be71106ce147445f2b42bb763f1eff86)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/libxavs.c')
0 files changed, 0 insertions, 0 deletions