aboutsummaryrefslogtreecommitdiff
path: root/packages/patches
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-04-15 23:45:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-04-15 23:45:29 +0000
commite87b26c1912431d937e130e8fddc967a55753867 (patch)
tree65969d4401c5a43b36a30febd95def385ac6f2ca /packages/patches
parentb26b66e25ceba1f82c939fa2009a168d90bcfaa9 (diff)
checked in Thomas' patch 1930733 to prevent an buffer overrun
svn path=/trunk/; revision=9708
Diffstat (limited to 'packages/patches')
-rw-r--r--packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch b/packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch
new file mode 100644
index 00000000..ddffc49c
--- /dev/null
+++ b/packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch
@@ -0,0 +1,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;