1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-11 17:10:50 +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
..