aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch
blob: ddffc49c4d0581a2cff5a924fa748f9e75f1d0e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- m_class.c	2008/02/07 12:55:15	9168
+++ m_class.c	2008/04/15 23:41:56	9707
@@ -810,7 +810,7 @@
     va_start(ap, fmt);
     while (1)
     {
-        if (nargs > MAXPDARG)
+        if (nargs >= MAXPDARG)
         {
             pd_error(x, "pd_vmess: only %d allowed", MAXPDARG);
             break;