From c4e29da4129edd6e2d98309e1216c74a47cc288e Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 2 Dec 2012 19:01:09 +0100 Subject: [PATCH] RemoteVstPlugin: fixed out-of-bound array access --- plugins/vst_base/RemoteVstPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/vst_base/RemoteVstPlugin.cpp b/plugins/vst_base/RemoteVstPlugin.cpp index a3efdbaf6..d6087aebb 100644 --- a/plugins/vst_base/RemoteVstPlugin.cpp +++ b/plugins/vst_base/RemoteVstPlugin.cpp @@ -1,7 +1,7 @@ /* * RemoteVstPlugin.cpp - LMMS VST Support Layer (RemotePlugin client) * - * Copyright (c) 2005-2010 Tobias Doerffel + * Copyright (c) 2005-2012 Tobias Doerffel * * 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; }