[FFmpeg-devel] [PATCH 3/4] avformat/iff: check size against INT64_MAX

Michael Niedermayer michael at niedermayer.cc
Thu Nov 5 00:35:57 EET 2020


On Wed, Oct 28, 2020 at 11:56:42PM +0100, Michael Niedermayer wrote:
> Bigger sizes are misinterpreted as negative numbers by the API
> Fixes: infinite loop
> Fixes: 26611/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-4890614975692800
> 
> 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 | 3 +++
>  1 file changed, 3 insertions(+)

will apply

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

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/20201104/a683a308/attachment.sig>


More information about the ffmpeg-devel mailing list