[FFmpeg-devel] [PATCH 2/3] avcodec/apedec: Use 64bit to avoid overflow

Michael Niedermayer michael at niedermayer.cc
Fri Oct 8 00:09:04 EEST 2021


On Wed, Sep 29, 2021 at 09:16:28PM +0200, Michael Niedermayer wrote:
> Fixes: runtime error: signed integer overflow: 727298502 * 3 cannot be represented in type 'int'
> Fixes: 39172/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-638602483033702
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/apedec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- 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/20211007/b848753e/attachment.sig>


More information about the ffmpeg-devel mailing list