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
|