[FFmpeg-devel] [PATCH 1/3] avformat/mpc8: check for size overflow in mpc8_get_chunk_header()

Michael Niedermayer michael at niedermayer.cc
Wed Mar 31 21:47:15 EEST 2021


On Thu, Mar 18, 2021 at 12:17:26AM +0100, Michael Niedermayer wrote:
> Fixes: signed integer overflow: -9223372036854775760 - 50 cannot be represented in type 'long'
> Fixes: 31673/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-580134751869337
> 
> 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/mpc8.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

will apply


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

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- 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/20210331/390e13d3/attachment.sig>


More information about the ffmpeg-devel mailing list