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:
parent
f0c02529ef
commit
63284e783d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue