Re: [FFmpeg-devel] [PATCH 1/2] avcodec/tiff: Fix default white level

2020-09-18 Thread Michael Niedermayer
On Fri, Jul 17, 2020 at 12:43:57AM +0200, Michael Niedermayer wrote: > According to the spec bits per sample should be used > > Fix invalid shift with bpp=32 > Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int' > Fixes: > 23507/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_T

[FFmpeg-devel] [PATCH 1/2] avcodec/tiff: Fix default white level

2020-07-16 Thread Michael Niedermayer
According to the spec bits per sample should be used Fix invalid shift with bpp=32 Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int' Fixes: 23507/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-4815432665268224 Found-by: continuous fuzzing process https://github