Re: [FFmpeg-devel] [PATCH 3/3] avcodec/osq: avoid undefined negation

2025-02-05 Thread Michael Niedermayer
On Tue, Feb 04, 2025 at 12:16:59AM -0300, James Almer wrote: > On 2/3/2025 11:58 PM, Michael Niedermayer wrote: > > Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka > > 'int'); cast to an unsigned type to negate this value to itself > > Fixes: > > 390646659/clusterfuzz-

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/osq: avoid undefined negation

2025-02-03 Thread James Almer
On 2/3/2025 11:58 PM, Michael Niedermayer wrote: Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int'); cast to an unsigned type to negate this value to itself Fixes: 390646659/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-5040277374435328 Found-by:

[FFmpeg-devel] [PATCH 3/3] avcodec/osq: avoid undefined negation

2025-02-03 Thread Michael Niedermayer
Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int'); cast to an unsigned type to negate this value to itself Fixes: 390646659/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-5040277374435328 Found-by: continuous fuzzing process https://github.com/goog