summaryrefslogtreecommitdiff
path: root/common/JackPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/JackPort.cpp')
-rw-r--r--common/JackPort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/JackPort.cpp b/common/JackPort.cpp
index 623a48f2..417882d4 100644
--- a/common/JackPort.cpp
+++ b/common/JackPort.cpp
@@ -230,7 +230,7 @@ void JackPort::SetName(const char* new_name)
bool JackPort::NameEquals(const char* target)
{
- char buf[REAL_JACK_PORT_NAME_SIZE];
+ char buf[REAL_JACK_PORT_NAME_SIZE+1];
/* this nasty, nasty kludge is here because between 0.109.0 and 0.109.1,
the ALSA audio backend had the name "ALSA", whereas as before and