steinbergmedia / vst3_public_sdk

VST 3 Implementation Helper Classes And Examples
Other
140 stars 47 forks source link

Incorrect string copy in HostAttributeList::getString #24

Closed NBorthwick closed 3 years ago

NBorthwick commented 3 years ago

In HostAttributeList::getString stringSize should be multiplied by sizeof TChar because it is copying bytes not characters. This causes many plugins to display garbage in channel names when they query for attributes in response to Vst::ChannelContext::IInfoListener Also plugins that use strings with HostAttributeList fail.

This is the fix. https://github.com/steinbergmedia/vst3_public_sdk/pull/23

ygrabit commented 3 years ago

fixed in next update