Files
ffmpeg/libavcodec
Michael Niedermayer 59f2ec7062 avcodec/alsdec: Limit maximum channels to 512
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-5764788793114624

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Suggested-by: Thilo Borgmann <thilo.borgmann@mail.de>
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f51e4d026c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-02 20:58:37 +01:00
..
2016-08-23 12:36:25 +02:00
2019-12-02 19:41:48 +01:00
2017-06-05 23:16:54 +02:00
2016-11-26 15:12:25 +01:00
2019-12-02 19:41:48 +01:00
2016-08-15 18:54:34 +02:00
2017-05-20 03:41:33 +02:00
2018-07-10 01:52:55 +02:00
2017-05-20 03:41:34 +02:00
2018-01-31 22:56:14 +01:00
2019-12-02 19:41:49 +01:00
2015-10-08 13:15:42 +02:00
2018-07-10 01:52:55 +02:00
2016-01-28 15:53:53 +01:00
2016-04-27 04:40:11 +02:00
2015-09-04 09:33:46 -04:00
2018-01-31 22:09:44 -03:00
2019-12-02 20:58:37 +01:00
2019-12-02 19:41:47 +01:00
2019-12-02 19:41:49 +01:00
2017-06-05 23:16:54 +02:00
2019-12-02 19:41:48 +01:00
2018-07-10 01:18:52 +02:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:48 +01:00
2015-10-12 21:46:54 +02:00
2015-09-07 15:32:56 +02:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:49 +01:00