projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a29f19
)
'libs/ardour' - Correct an invalid buffer address (io.cc)
author
John Emmas
<johne53@tiscali.co.uk>
Fri, 9 Aug 2013 16:48:15 +0000
(17:48 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Fri, 9 Aug 2013 16:48:15 +0000
(17:48 +0100)
libs/ardour/io.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/io.cc
b/libs/ardour/io.cc
index c7bf163d2798a4f57eec4f685b1e637f6cdff139..a9d37d4315cc9c6ad8930b416c965c9d1edc2913 100644
(file)
--- 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]);
}