1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-14 10:20:35 +01:00
fdk-aac/libMpegTPDec
Martin Storsjo e7d8591ff2 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: 20376/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-4785514974806016.dms

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2020-02-01 22:13:18 +02:00
..