[FFmpeg-devel] [PATCH 3/3] avformat/iff: simplify duration calculation

Michael Niedermayer michael at niedermayer.cc
Tue Jul 12 20:59:53 EEST 2022


On Tue, Jul 05, 2022 at 12:30:34AM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 315680096256 * 134215943 cannot be represented in type 'long long'
> Fixes: 48713/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-5886272312311808
> 
> 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/iff.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

will apply

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

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- 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/20220712/480f2e10/attachment.sig>


More information about the ffmpeg-devel mailing list