File: format-security.patch

package info (click to toggle)
pd-ekext 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,804 kB
  • sloc: ansic: 6,548; makefile: 102
file content (18 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix format-security issues with logpost()
Author: IOhannes m zmölnig <zmoelnig@iem.at>
Origin: upstream
Applied-Upstream: https://github.com/pd-externals/ekext/commit/b20e054781589d2a5a794ef96bb8f610868e4685
Last-Update: 2025-09-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-ekext.orig/copyarray.c
+++ pd-ekext/copyarray.c
@@ -291,7 +291,7 @@
     // class_addlist(copyarray_class, copyarray_list);
 #ifndef MAXLIB
 
-    logpost(NULL, 4, version);
+    logpost(NULL, 4, "%s", version);
 #else
     class_sethelpsymbol(copyarray_class, gensym("maxlib/copyarray\\xs-help.pd"));
 #endif