summaryrefslogtreecommitdiff
path: root/misc/screen/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-11-27 20:29:48 +0000
committerwiz <wiz@pkgsrc.org>2003-11-27 20:29:48 +0000
commite0e272c5a9173d6ac93a3943846628cbe32a4947 (patch)
tree648551c392045c925b86b16d2763b0b90f10a810 /misc/screen/patches/patch-ab
parenta7ce40b088851d5d4ca3051c4fbc66a93590b35e (diff)
downloadpkgsrc-e0e272c5a9173d6ac93a3943846628cbe32a4947.tar.gz
Fix
http://www.securityfocus.com/archive/1/345844 with the patches supplied there. Bump PKGREVISION to 1.
Diffstat (limited to 'misc/screen/patches/patch-ab')
-rw-r--r--misc/screen/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/screen/patches/patch-ab b/misc/screen/patches/patch-ab
new file mode 100644
index 00000000000..e03da5b9129
--- /dev/null
+++ b/misc/screen/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.8 2003/11/27 20:29:48 wiz Exp $
+
+--- ansi.c.orig Mon Sep 8 16:24:44 2003
++++ ansi.c
+@@ -559,7 +559,7 @@ register int len;
+ {
+ case '0': case '1': case '2': case '3': case '4':
+ case '5': case '6': case '7': case '8': case '9':
+- if (curr->w_NumArgs < MAXARGS)
++ if (curr->w_NumArgs >= 0 && curr->w_NumArgs < MAXARGS)
+ {
+ if (curr->w_args[curr->w_NumArgs] < 100000000)
+ curr->w_args[curr->w_NumArgs] =