From e87b26c1912431d937e130e8fddc967a55753867 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 15 Apr 2008 23:45:29 +0000 Subject: checked in Thomas' patch 1930733 to prevent an buffer overrun svn path=/trunk/; revision=9708 --- packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/patches/object_arg_buffer_overflow_fix-0.41.4.patch (limited to 'packages/patches') 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; -- cgit v1.2.1