[FFmpeg-devel] [PATCH 2/2] libavcodec/mpeg4videodec: Convert sprite_offset to 64bit

Michael Niedermayer michael at niedermayer.cc
Thu May 4 20:51:51 EEST 2017


On Wed, May 03, 2017 at 05:21:51AM +0200, Michael Niedermayer wrote:
> This avoids intermediates from overflowing (the final values are checked)
> Fixes: runtime error: signed integer overflow: -167712 + -2147352576 cannot be represented in type 'int'
> 
> Fixes: 1298/clusterfuzz-testcase-minimized-5955580877340672
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/mpeg4videodec.c | 102 ++++++++++++++++++++++-----------------------
>  1 file changed, 50 insertions(+), 52 deletions(-)

applied


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

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170504/b8818be1/attachment.sig>


More information about the ffmpeg-devel mailing list