[FFmpeg-devel] [PATCH 4/7] avcodec/fits: Check gcount and pcount being non negative

Michael Niedermayer michael at niedermayer.cc
Sat Feb 13 22:39:52 EET 2021


On Wed, Feb 03, 2021 at 12:13:31AM +0100, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 9223372036854775807 - -30069403896 cannot be represented in type 'long'
> Fixes: 30046/clusterfuzz-testcase-minimized-ffmpeg_dem_FITS_fuzzer-5807144773484544
> 
> 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/fits.c | 4 ++++
>  1 file changed, 4 insertions(+)

will apply

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

The educated differ from the uneducated as much as the living from the
dead. -- 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/20210213/171ba710/attachment.sig>


More information about the ffmpeg-devel mailing list