[FFmpeg-devel] [PATCH] avformat/utils: reorder duration computation to avoid overflow

Michael Niedermayer michael at niedermayer.cc
Wed Jul 1 12:31:58 EEST 2020


On Sun, Jun 21, 2020 at 07:07:53PM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 8 * 9223372036854774783 cannot be represented in type 'long'
> Fixes: 23381/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4818340509122560
> 
> 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/utils.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- 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/20200701/84c8e726/attachment.sig>


More information about the ffmpeg-devel mailing list