1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-14 10:20:35 +01:00
fdk-aac/libDRCdec
Martin Storsjo 2e64f76d2e Don't use an enum for a value read directly from the bitstream
The enum doesn't cover all possible values read from the bitstream.

This fixes undefined behaviour sanitizer errors.

Fixes: 27624/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-6049277318791168

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2020-11-30 12:55:07 +02:00
..