[FFmpeg-devel] [PATCH 3/5] avcodec/loco: Limit lossy parameter so it is sane and does not overflow

Michael Niedermayer michael at niedermayer.cc
Tue Jun 25 13:08:07 EEST 2019

On Sun, Jun 16, 2019 at 12:00:54AM +0200, Michael Niedermayer wrote:
> Fixes: 15248/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5087440458481664
> Fixes: signed integer overflow: 3 + 2147483647 cannot be represented in type 'int'
> 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/loco.c | 5 +++++
>  1 file changed, 5 insertions(+)

will apply

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190625/b9dcd712/attachment.sig>

More information about the ffmpeg-devel mailing list