[FFmpeg-devel] [PATCH 1/2] avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830()

Michael Niedermayer michael at niedermayer.cc
Fri Oct 8 00:06:36 EEST 2021


On Tue, Sep 28, 2021 at 12:37:21AM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: -2145648640 - 3357696 cannot be represented in type 'int'
> Fixes: 38899/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5358815017566208
> 
> 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

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/b34243bc/attachment.sig>


More information about the ffmpeg-devel mailing list