[FFmpeg-devel] [PATCH 3/4] avcodec/jpeglsdec: Check Jpeg-LS LSE

Michael Niedermayer michael at niedermayer.cc
Fri Dec 29 02:02:07 EET 2023


On Sat, Dec 16, 2023 at 01:16:18PM +0100, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 2147478526 + 33924 cannot be represented in type 'int'
> Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int'
> Fixes: 64243/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEGLS_fuzzer-5195717848989696
> 
> 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/jpeglsdec.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

will apply

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

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- 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/20231229/c2e45e22/attachment.sig>


More information about the ffmpeg-devel mailing list