1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2024-12-11 07:55:17 +01:00
fdk-aac/libMpegTPDec
Martin Storsjo d75500444a Don't use enums for values read directly from the bitstream
The enums don't cover all possible values read from the bitstream.

This fixes undefined behaviour sanitizer errors.

Fixes: 27647/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5654559200116736
Fixes: 28193/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-4901213455515648

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2021-01-14 15:36:03 +02:00
..
include Add AOT specific number of qmf bands sanity check in SpatialSpecificConfig() 2019-01-03 10:25:40 -05:00
src Don't use enums for values read directly from the bitstream 2021-01-14 15:36:03 +02:00