[FFmpeg-devel] [PATCH 1/3] avcodec/h264_slice: fix undefined integer overflow with POC in error concealment

Michael Niedermayer michael at niedermayer.cc
Sun Oct 18 22:29:16 EEST 2020


On Thu, Oct 08, 2020 at 09:19:13PM +0200, Michael Niedermayer wrote:
> Alternatively the POC could be changed to 64bit. the large values seem to be within what is allowed.
> 
> Fixes: signed integer overflow: 2147483646 + 2 cannot be represented in type 'int'
> Fixes: 26076/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5711127201447936
> 
> 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/h264_slice.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20201018/9c2ed573/attachment.sig>


More information about the ffmpeg-devel mailing list