diff options
author | Martin Storsjo <martin@martin.st> | 2020-01-09 10:21:19 +0200 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2020-01-09 10:26:25 +0200 |
commit | 28fcbe9faed794a9d74aef529beb83386da1f4aa (patch) | |
tree | f17c33eadafe29a790e969884660bae1d008064f /fdk-aac.pc.in | |
parent | 10fcf89a3ee22443ac47374c3fcbf0cf2eee7f07 (diff) | |
download | fdk-aac-28fcbe9faed794a9d74aef529beb83386da1f4aa.tar.gz fdk-aac-28fcbe9faed794a9d74aef529beb83386da1f4aa.tar.bz2 fdk-aac-28fcbe9faed794a9d74aef529beb83386da1f4aa.zip |
Don't use an enum for a value read directly from the bitstream
The enum only defined values 1-7, while the variable can be set
to any value between 0 and 15 that is read from the bitstream
by FDKreadBits(hBs, 4).
This fixes undefined behaviour sanitizer errors.
Fixes: 19500/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5730449188192256
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Diffstat (limited to 'fdk-aac.pc.in')
0 files changed, 0 insertions, 0 deletions