Re: [FFmpeg-devel] [PATCH] avcodec/wavpack: Fix integer overflow in FFABS

2018-02-03 Thread Michael Niedermayer
On Wed, Jan 31, 2018 at 03:17:36AM +0100, Michael Niedermayer wrote: > Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to > an unsigned type to negate this value to itself > Fixes: 5396/clusterfuzz-testcase-minimized-655829281536 > > Found-by: continuous fuzzing proce

[FFmpeg-devel] [PATCH] avcodec/wavpack: Fix integer overflow in FFABS

2018-01-30 Thread Michael Niedermayer
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 5396/clusterfuzz-testcase-minimized-655829281536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-b