File: format-security.patch

package info (click to toggle)
pd-lua 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 632 kB
  • ctags: 397
  • sloc: ansic: 1,331; makefile: 395; sh: 21
file content (22 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: fix format-security errors
Author: IOhannes m zmölnig
Origin: upstream
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-lua.orig/pdlua.c
+++ pd-lua/pdlua.c
@@ -1643,10 +1643,10 @@
     post(compiled);
     post(luaversionStr);
 #else
-    logpost(NULL, 3, pdluaver);
-    logpost(NULL, 3, luaver);
-    logpost(NULL, 3, compiled);
-    logpost(NULL, 3, luaversionStr);
+    logpost(NULL, 3, "%s", pdluaver);
+    logpost(NULL, 3, "%s", luaver);
+    logpost(NULL, 3, "%s", compiled);
+    logpost(NULL, 3, "%s", luaversionStr);
 #endif
     pdlua_proxyinlet_setup();
     PDLUA_DEBUG("pdlua pdlua_proxyinlet_setup done", 0);