]> git.sesse.net Git - ffmpeg/commit
avcodec/celp_filters: Avoid invalid negation in ff_celp_lp_synthesis_filter()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 23 Sep 2020 21:31:59 +0000 (23:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Oct 2020 11:08:24 +0000 (13:08 +0200)
commit11a6347f9e544a1b9fba059ae02c30c0e512c195
tree3bd9995a4c54a40207e9d6a3e1aaf19b9bce698a
parent4f54f530039db149808478796e8389c14eb73095
avcodec/celp_filters: Avoid invalid negation in ff_celp_lp_synthesis_filter()

Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: 25675/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G729_fuzzer-4786580731199488
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/celp_filters.c