[FFmpeg-devel] [PATCH 5/5] avcodec/tta: Check 24bit scaling for overflow

Michael Niedermayer michael at niedermayer.cc
Fri Sep 16 20:56:06 EEST 2022


On Sun, Sep 11, 2022 at 12:30:46AM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: -8427924 * 256 cannot be represented in type 'int'
> Fixes: 48798/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TTA_fuzzer-5409428670644224
> 
> 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/tta.c | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

will apply

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

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- 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/20220916/23017aea/attachment.sig>


More information about the ffmpeg-devel mailing list