Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: Avoid overflow in dts

2024-10-09 Thread Michael Niedermayer
On Sun, Jul 28, 2024 at 10:20:52PM +0200, Michael Niedermayer wrote: > This basically ignores the overflow without undefined behavior, alternatively > we could detect and error out > > Fixes: signed integer overflow: 6310596683470275584 + 7660622966157213696 > cannot be represented in type 'long

[FFmpeg-devel] [PATCH 1/2] avformat/mov: Avoid overflow in dts

2024-07-28 Thread Michael Niedermayer
This basically ignores the overflow without undefined behavior, alternatively we could detect and error out Fixes: signed integer overflow: 6310596683470275584 + 7660622966157213696 cannot be represented in type 'long' Fixes: 70433/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5483347