[FFmpeg-devel] [PATCH] avfilter/avf_concat: check for possible integer overflow

Nicolas George george at nsup.org
Sun Sep 13 19:59:01 EEST 2020


Marton Balint (12020-09-13):
> > +    if (seg_delta < -cat->in[in_no].pts)
> > +        return AVERROR_BUG;
> Isn't this supposed to be simply (seg_delta < cat->in[in_no].pts) ?

You are right, thanks for noticing. Was this tested?

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/20200913/98b85921/attachment.sig>


More information about the ffmpeg-devel mailing list