Description: fixed format-security errors
 "error(fmt,...)" really wants a 'fmt' AND some arguments.
Author: IOhannes m zmölnig
Bug: https://github.com/asb2m10/jsusfx/issues/13
Last-Update: 2016-11-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- jsusfx-0.3.1.orig/pd/jsusfx_pd.cpp
+++ jsusfx-0.3.1/pd/jsusfx_pd.cpp
@@ -30,7 +30,7 @@
         vsnprintf(output, 4095, fmt, argptr);
         va_end(argptr);
 
-        post(output);
+        post("%s", output);
     }
 
     void displayError(const char *fmt, ...) {
@@ -40,7 +40,7 @@
         vsnprintf(output, 4095, fmt, argptr);
         va_end(argptr);
 
-        error(output);
+        error("%s", output);
     }
 
     WDL_Mutex dspLock;
