]> git.sesse.net Git - ffmpeg/commit
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0 / COMPOSE_DD137iL0
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 13 May 2018 22:10:33 +0000 (00:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 17 May 2018 00:23:06 +0000 (02:23 +0200)
commitcb944fc7f1327443a0cf449afbce5a3e8712f90f
tree7c9e434c540954b3761bfaf14b4067c3de4d9ad3
parentcb2f7ea96b4f6e03ebf0c0563677745fc65f148e
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0 / COMPOSE_DD137iL0

Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int');
Fixes: 6500/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-4523620274536448
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h