[FFmpeg-devel] [PATCH 1/4] avformat/rmdec: Check old_format len for overflow

Michael Niedermayer michael at niedermayer.cc
Fri Jun 18 00:00:52 EEST 2021


On Tue, Apr 27, 2021 at 09:21:32PM +0200, Michael Niedermayer wrote:
> Maybe such large values could be disallowed earlier and closer to where
> they are set.
> 
> Fixes: signed integer overflow: 538976288 * 8224 cannot be represented in type 'int'
> Fixes: 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_RM_fuzzer-6704350354341888
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/rmdec.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

will apply

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

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- 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/20210617/d5910c56/attachment.sig>


More information about the ffmpeg-devel mailing list