projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0956708
)
Fix a small buffer issue which could sometimes prevent sessions from being able to...
author
John Emmas
<johne53@tiscali.co.uk>
Thu, 22 Oct 2015 15:35:13 +0000
(16:35 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Thu, 22 Oct 2015 15:37:00 +0000
(16:37 +0100)
In the function 'LV2Plugin::add_state()' the snprintf() call can easily print 19 or even 20 bytes - so a 16-byte buffer wasn't large enough.
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index 6867646bf55835bac1b10106d905cd14f34e84a1..7e4328ae41cfb45c5dd350cd42c065b0dd47fbaf 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-983,7
+983,7
@@
LV2Plugin::add_state(XMLNode* root) const
assert(_insert_id != PBD::ID("0"));
XMLNode* child;
- char buf[
16
];
+ char buf[
32
];
LocaleGuard lg(X_("C"));
for (uint32_t i = 0; i < parameter_count(); ++i) {