fix possible overflow (printing float)
authorRobin Gareus <robin@gareus.org>
Fri, 18 Mar 2016 20:19:05 +0000 (21:19 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 18 Mar 2016 20:33:13 +0000 (21:33 +0100)
libs/ardour/ladspa_plugin.cc

index f30925ac51f36865947fdedbaeb3e80ec13f0c27..40d8b68951996374a14f81af362c17f338b663fc 100644 (file)
@@ -350,7 +350,7 @@ void
 LadspaPlugin::add_state (XMLNode* root) const
 {
        XMLNode *child;
-       char buf[16];
+       char buf[32];
        LocaleGuard lg (X_("C"));
 
        for (uint32_t i = 0; i < parameter_count(); ++i){