Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AUSDK: Fix out-of-bounds read when fetching parameter names
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
modules/juce_audio_plugin_client/AU/AudioUnitSDK/JUCE CHANGES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
AUScopeElement.cpp - The method AUScope::RestoreElementNames was changed to only call AUElement::SetName if the name actually changed (instead of always). This is a workaround for a Ableton Live 11 bug which crashes on duplicating AUs with more than 16 output busses. | ||
|
||
AUBase.h - The line that reads | ||
CFStringGetCString(inName, std::data(ioInfo.name), std::size(ioInfo.name), ... | ||
previously read | ||
CFStringGetCString(inName, &ioInfo.name[0], offsetof(AudioUnitParameterInfo, clumpID), ... | ||
This change is necessary because AudioUnitParameterInfo includes another data member between the `name` and `clumpID` members. |