Re: [FFmpeg-devel] [PATCH 1/2] avcodec/alsdec: Limit maximum channels to 512

2019-08-20 Thread Thilo Borgmann
Am 20.08.19 um 16:52 schrieb Michael Niedermayer: > There seems to be no limit in the specification and upto 64k could be stored > 512 is choosen as limit as thats the maximum in a conformance sample > > An alternative to this patch would be a max_channels variable > > Fixes: OOM > Fixes: > 1620

[FFmpeg-devel] [PATCH 1/2] avcodec/alsdec: Limit maximum channels to 512

2019-08-20 Thread Michael Niedermayer
There seems to be no limit in the specification and upto 64k could be stored 512 is choosen as limit as thats the maximum in a conformance sample An alternative to this patch would be a max_channels variable Fixes: OOM Fixes: 16200/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-576