]> git.sesse.net Git - ffmpeg/commit
avcodec/diracdsp: Fix integer anomaly in dequant_subband_*
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 18 Jul 2020 12:30:19 +0000 (14:30 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Sep 2020 22:40:56 +0000 (00:40 +0200)
commitca3c6c981aa5b0af8a5576020b79fdd3cdf9ae9e
tree4491ab7048b3694d24b18a6aa4236e310fb2663d
parent5dae33bb39ac7252e80d61f1962a333b4d4fe015
avcodec/diracdsp: Fix integer anomaly in dequant_subband_*

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: 23760/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-604209011412172
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdsp.c