mirror of https://github.com/mstorsjo/fdk-aac.git
Fix improper assignment in aac_enc_fuzzer
This commit updates the fuzzer to use correct value of kSignalingModesSize and prevent OOB access on kSignalingModes Test: ./aac_enc_fuzzer Bug: 180220144 Change-Id: Ic9d01c5c166f2291d8d8ffacaa7813fb1560322b
This commit is contained in:
parent
fbed528d62
commit
b50bd1751d
|
@ -100,7 +100,7 @@ constexpr int32_t kChannelOrder[] = {CH_ORDER_MPEG, CH_ORDER_WAV};
|
|||
constexpr size_t kChannelOrderSize = size(kChannelOrder);
|
||||
|
||||
constexpr int32_t kSignalingModes[] = {-1, 0, 1, 2, 3};
|
||||
constexpr size_t kSignalingModesSize = size(kGranuleLengths);
|
||||
constexpr size_t kSignalingModesSize = size(kSignalingModes);
|
||||
|
||||
constexpr int32_t kAudioMuxVer[] = {-1, 0, 1, 2};
|
||||
constexpr size_t kAudioMuxVerSize = size(kAudioMuxVer);
|
||||
|
|
Loading…
Reference in New Issue