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

Michael Niedermayer michael at niedermayer.cc
Wed Oct 9 22:11:56 EEST 2024


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'
> Fixes: 70433/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5483347233538048
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/mov.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

will apply patchset

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The smallest minority on earth is the individual. Those who deny 
individual rights cannot claim to be defenders of minorities. - Ayn Rand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241009/ad76d081/attachment.sig>


More information about the ffmpeg-devel mailing list