From dc62ef61239956783378bd8fcb76fca0eb972380 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 9 Aug 2013 17:48:15 +0100 Subject: 'libs/ardour' - Correct an invalid buffer address (io.cc) --- libs/ardour/io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/io.cc') diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index c7bf163d27..a9d37d4315 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -1391,7 +1391,7 @@ IO::build_legal_port_name (DataType type) snprintf (&buf1[0], name_size+1, ("%.*s/%s"), limit, nom.c_str(), suffix.c_str()); int port_number = find_port_hole (&buf1[0]); - snprintf (&buf2[0], name_size+1, "%s %d", buf1, port_number); + snprintf (&buf2[0], name_size+1, "%s %d", &buf1[0], port_number); return string (&buf2[0]); } -- cgit v1.2.3