diff options
author | Michael Niedermayer <[email protected]> | 2019-08-20 16:52:07 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-09-04 20:26:35 +0200 |
commit | d34b5c938bbb000a29966685937b23d3b479a2d0 (patch) | |
tree | eb2592ef00e90bf137dd87214cc323f325d54518 /tools/python/convert.py | |
parent | 9f61f2f1ea6df36487fba99f77decbef00445dc5 (diff) |
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 <[email protected]>
Reviewed-by: Thilo Borgmann <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit f51e4d026cc762ff2d47d6107658dbff42ba5ea8)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'tools/python/convert.py')
0 files changed, 0 insertions, 0 deletions