1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

AAX Client: Fix potential out-of-bounds array access

This commit is contained in:
reuk 2021-06-16 12:47:56 +01:00
parent f0c02529ef
commit 63284e783d
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -1343,7 +1343,7 @@ namespace AAXClasses
return foundValid;
for (int i = 2; i < numInputBuses; ++i)
if (currentLayout.outputBuses.getReference (i) != AudioChannelSet::disabled())
if (! currentLayout.inputBuses.getReference (i).isDisabled())
return foundValid;
}