[FFmpeg-devel] [PATCH 2/2] avformat/sbgdec: Check for overflow in last loop in expand_timestamps()

Nicolas George george at nsup.org
Tue Mar 23 15:09:55 EET 2021


Michael Niedermayer (12021-03-06):
> Fixes: signed integer overflow: 9223372036854775807 + 86400000000 cannot be represented in type 'long'
> Fixes: 31003/clusterfuzz-testcase-minimized-ffmpeg_dem_SBG_fuzzer-6256298771480576
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/sbgdec.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

No objection.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210323/767b9afe/attachment.sig>


More information about the ffmpeg-devel mailing list