Fix remote plugin crash reading parameters from Grooove plugin (#5300)

This commit is contained in:
Dominic Clark
2019-11-17 16:09:48 +00:00
committed by GitHub
parent a8d91b10e8
commit cf4bb7b851

View File

@@ -1072,7 +1072,7 @@ void RemoteVstPlugin::getParameterDump()
for( int i = 0; i < m_plugin->numParams; ++i )
{
char paramName[32];
char paramName[256];
memset( paramName, 0, sizeof( paramName ) );
pluginDispatch( effGetParamName, i, 0, paramName );
paramName[sizeof(paramName)-1] = 0;