[FFmpeg-devel] [PATCH 2/2] avcodec/exr: x/ymax cannot be INT_MAX
Michael Niedermayer
michael at niedermayer.cc
Thu May 27 18:44:09 EEST 2021
On Wed, Apr 21, 2021 at 02:31:18PM +0200, Michael Niedermayer wrote:
> The code uses x/ymax + 1 so the maximum is INT_MAX-1
>
> Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
> Fixes: 33158/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5545462457303040
>
> 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/exr.c | 1 +
> 1 file changed, 1 insertion(+)
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/20210527/b9557dfd/attachment.sig>
More information about the ffmpeg-devel
mailing list