Re: [FFmpeg-devel] [PATCH 4/5] avcodec/atrac3: Check for huge block aligns

2019-11-20 Thread Michael Niedermayer
On Sat, Nov 02, 2019 at 05:06:00PM +0100, Michael Niedermayer wrote: > The largest documented frame size = block align is 1024 bytes > (https://wiki.multimedia.cx/index.php/ATRAC3) > > Without a limit this can allocate arbitrary memory and trigger OOM > Fixes: OOM > Fixes: > 18337/clusterfuzz-tes

[FFmpeg-devel] [PATCH 4/5] avcodec/atrac3: Check for huge block aligns

2019-11-02 Thread Michael Niedermayer
The largest documented frame size = block align is 1024 bytes (https://wiki.multimedia.cx/index.php/ATRAC3) Without a limit this can allocate arbitrary memory and trigger OOM Fixes: OOM Fixes: 18337/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC3_fuzzer-5763861478637568 Fixes: 18556/clu