aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdsub_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-10-20 23:51:58 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-12-06 20:30:58 +0100
commit67103c565c3463eba38c64ba6df72c12b1a2e9f6 (patch)
treebe24f00ab96f26ad7105802cdce0890ccbec59cc /libavcodec/dvdsub_parser.c
parent6248ed92fd63664b026742ab470ef866574f0b31 (diff)
downloadffmpeg-67103c565c3463eba38c64ba6df72c12b1a2e9f6.tar.gz
avcodec/atrac3: Check for huge block aligns
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/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC3AL_fuzzer-5646183334936576 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f09151fff9c754fbc1d2560adf18b14957f8b181) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dvdsub_parser.c')
0 files changed, 0 insertions, 0 deletions