Re: [FFmpeg-devel] [PATCH 05/22] avformat/matroskadec: Use int64_t size

2024-07-12 Thread Michael Niedermayer
On Fri, Jul 12, 2024 at 10:42:38AM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > The length is 64bit that is passed into the functions. > > Alternatively the values can be checked before cast > > > > Fixes: CID1604572 Overflowed return value > > > > Sponsored-by: Sovereign Tech Fund

Re: [FFmpeg-devel] [PATCH 05/22] avformat/matroskadec: Use int64_t size

2024-07-12 Thread Andreas Rheinhardt
Michael Niedermayer: > The length is 64bit that is passed into the functions. > Alternatively the values can be checked before cast > > Fixes: CID1604572 Overflowed return value > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- > libavformat/matroskadec.c | 6 +++-