diff options
author | wiz <wiz@pkgsrc.org> | 2003-11-27 20:29:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-11-27 20:29:48 +0000 |
commit | 511619f71bc71b198a09c1fd2c0da7ab43949a87 (patch) | |
tree | 648551c392045c925b86b16d2763b0b90f10a810 | |
parent | 0736804eabd5293175ebcc280f91db67f754bf4e (diff) | |
download | pkgsrc-511619f71bc71b198a09c1fd2c0da7ab43949a87.tar.gz |
Fix
http://www.securityfocus.com/archive/1/345844
with the patches supplied there.
Bump PKGREVISION to 1.
-rw-r--r-- | misc/screen/Makefile | 3 | ||||
-rw-r--r-- | misc/screen/distinfo | 4 | ||||
-rw-r--r-- | misc/screen/patches/patch-ab | 13 | ||||
-rw-r--r-- | misc/screen/patches/patch-ac | 22 |
4 files changed, 40 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 5d5e5503276..e8b0980b934 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.48 2003/09/22 21:00:43 hubertf Exp $ +# $NetBSD: Makefile,v 1.49 2003/11/27 20:29:48 wiz Exp $ DISTNAME= screen-4.0.1 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \ ${MASTER_SITE_GNU:=screen/} diff --git a/misc/screen/distinfo b/misc/screen/distinfo index b29bb8ff695..2948069c7e1 100644 --- a/misc/screen/distinfo +++ b/misc/screen/distinfo @@ -1,8 +1,10 @@ -$NetBSD: distinfo,v 1.14 2003/09/22 21:00:43 hubertf Exp $ +$NetBSD: distinfo,v 1.15 2003/11/27 20:29:48 wiz Exp $ SHA1 (screen-4.0.1.tar.gz) = 61f24b18c56b5862c769345d204f57b1e7f222ab Size (screen-4.0.1.tar.gz) = 837445 bytes SHA1 (patch-aa) = 57a7800823cf46c42011f7703fd9949bc614736d +SHA1 (patch-ab) = d62818fcf5a0b56f904ac22dc074e312617b3f2c +SHA1 (patch-ac) = 259fa60ecfe98bfde09a11bc54ad7270c8ecba60 SHA1 (patch-ae) = dcdbb1ca08e36308f5659a90a5b6f31fb3a45691 SHA1 (patch-ai) = a3d2c7d2ef3db9deb7a5e70ed7f906efd3196af6 SHA1 (patch-aj) = 8aa5c79e483e500ca9b3ed978835bbf1a866a5dc 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] = diff --git a/misc/screen/patches/patch-ac b/misc/screen/patches/patch-ac new file mode 100644 index 00000000000..e0f2afcbf5c --- /dev/null +++ b/misc/screen/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.6 2003/11/27 20:29:48 wiz Exp $ + +--- resize.c.orig Mon Sep 8 16:26:31 2003 ++++ resize.c +@@ -682,6 +682,17 @@ int wi, he, hi; + if (wi == 0) + he = hi = 0; + ++ if (wi > 1000) ++ { ++ Msg(0, "Window width too large, truncated"); ++ wi = 1000; ++ } ++ if (he > 1000) ++ { ++ Msg(0, "Window height too large, truncated"); ++ he = 1000; ++ } ++ + if (p->w_width == wi && p->w_height == he && p->w_histheight == hi) + { + debug("ChangeWindowSize: No change.\n"); |