Hi Matthew,

can you please try if the attached patch (bigger static buffer size)
fixes the issue, when fortify is still turned on? (We really want to
fortify.)

Thanks in advance,

Roland
--- puredata-0.43.2.orig/src/m_pd.h
+++ puredata-0.43.2/src/m_pd.h
@@ -57,7 +57,7 @@ extern "C" {
 #include <stddef.h>     /* just for size_t -- how lame! */
 #endif
 
-#define MAXPDSTRING 1000        /* use this for anything you want */
+#define MAXPDSTRING 10000        /* use this for anything you want */
 #define MAXPDARG 5              /* max number of args we can typecheck today */
 
 /* signed and unsigned integer types the size of a pointer:  */

Reply via email to