diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-04-01 22:11:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-04-03 00:44:38 +0200 |
commit | 1887ff250cfd1e69c08bca21cc53e30a39e26818 (patch) | |
tree | f2dcb3606b688bb061d33fb19c4bdabb327a1b5d /libavcodec/indeo5.c | |
parent | d58037c18e540b824af49baf3e384f59176b7869 (diff) | |
download | ffmpeg-1887ff250cfd1e69c08bca21cc53e30a39e26818.tar.gz |
avcodec/apedec: Use NABS to avoid undefined negation
Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int'); cast to an unsigned type to negate this value to itself
Fixes: 67738/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5444313212321792
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/indeo5.c')
0 files changed, 0 insertions, 0 deletions