[FFmpeg-devel] [PATCH] avcodec/osq: avoid signed overflow in downsample path

Michael Niedermayer michael at niedermayer.cc
Fri Jul 12 23:46:14 EEST 2024


On Fri, Jun 21, 2024 at 09:35:48PM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 865309950 * 256 cannot be represented in type 'int'
> Fixes: 69191/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-6310214413385728
> 
> 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/osq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- 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/20240712/4805e82e/attachment.sig>


More information about the ffmpeg-devel mailing list