aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dtshddec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-08-20 16:52:07 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-15 12:25:45 +0100
commite37b9df6c9827d61f5aea987d85072a33b33f4dc (patch)
tree9778329a5d39cdc53a347bee348bd5a847de4ac9 /libavformat/dtshddec.c
parent12f5cb95f8b46c047843221c8501378d604b43e8 (diff)
downloadffmpeg-e37b9df6c9827d61f5aea987d85072a33b33f4dc.tar.gz
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 f51e4d026cc762ff2d47d6107658dbff42ba5ea8) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/dtshddec.c')
0 files changed, 0 insertions, 0 deletions