Re: [FFmpeg-devel] [PATCH] avutil/common: Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c()

2018-02-16 Thread Michael Niedermayer
On Thu, Feb 15, 2018 at 01:46:06PM +0100, Michael Niedermayer wrote: > Fixes: 5567/clusterfuzz-testcase-minimized-5769966247739392 > Fixes: runtime error: negation of -2147483648 cannot be represented in type > 'int'; cast to an unsigned type to negate this value to itself > > Found-by:

[FFmpeg-devel] [PATCH] avutil/common: Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c()

2018-02-15 Thread Michael Niedermayer
Fixes: 5567/clusterfuzz-testcase-minimized-5769966247739392 Fixes: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Found-by: continuous fuzzing process