Re: [FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_opt: Check attachment filesize

2020-04-16 Thread Andreas Rheinhardt
Michael Niedermayer: > On Wed, Apr 15, 2020 at 11:06:13PM +0200, Andreas Rheinhardt wrote: >> The data of an attachment file is put into an AVCodecParameter's >> extradata. The corresponding size field has type int, yet there was no >> check for the size to fit into an int. As a consequence, it was

Re: [FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_opt: Check attachment filesize

2020-04-16 Thread Michael Niedermayer
On Wed, Apr 15, 2020 at 11:06:13PM +0200, Andreas Rheinhardt wrote: > The data of an attachment file is put into an AVCodecParameter's > extradata. The corresponding size field has type int, yet there was no > check for the size to fit into an int. As a consequence, it was possible > to create extr