RemoteVstPlugin: fixed out-of-bound array access

This commit is contained in:
Tobias Doerffel
2012-12-02 19:01:09 +01:00
parent 40a92d8417
commit c4e29da412

View File

@@ -1,7 +1,7 @@
/*
* RemoteVstPlugin.cpp - LMMS VST Support Layer (RemotePlugin client)
*
* Copyright (c) 2005-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2005-2012 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -808,7 +808,7 @@ const char * RemoteVstPlugin::programName()
pluginDispatch( effGetProgramName, 0, 0, buf );
buf[24] = 0;
buf[23] = 0;
return buf;
}