diff options
author | nectar <nectar@FreeBSD.org> | 2002-03-06 21:53:39 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-03-06 21:53:39 +0800 |
commit | e57da13d4b233bef6dcd5c547d533173d384a3f8 (patch) | |
tree | 19fb938e2156a03b9b1b01dc1afdf873e2f35524 /security/openssh | |
parent | 17576c2d6b245cce02112813b9269a9bc878b9cd (diff) | |
download | freebsd-ports-gnome-e57da13d4b233bef6dcd5c547d533173d384a3f8.tar.gz freebsd-ports-gnome-e57da13d4b233bef6dcd5c547d533173d384a3f8.tar.zst freebsd-ports-gnome-e57da13d4b233bef6dcd5c547d533173d384a3f8.zip |
Fix off-by-one error.
Obtained from: OpenBSD
Bump PORTREVISION.
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/Makefile | 1 | ||||
-rw-r--r-- | security/openssh/files/patch-channels.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 81612a839eaf..a62d8071483c 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -7,6 +7,7 @@ PORTNAME= openssh PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/ \ ftp://ftp.usa.openbsd.org/pub/OpenBSD/OpenSSH/ \ diff --git a/security/openssh/files/patch-channels.c b/security/openssh/files/patch-channels.c new file mode 100644 index 000000000000..fc11fc9c6bad --- /dev/null +++ b/security/openssh/files/patch-channels.c @@ -0,0 +1,11 @@ +--- channels.c.orig Wed Oct 10 17:18:47 2001 ++++ channels.c Wed Mar 6 07:49:46 2002 +@@ -145,7 +145,7 @@ + { + Channel *c; + +- if (id < 0 || id > channels_alloc) { ++ if (id < 0 || id >= channels_alloc) { + log("channel_lookup: %d: bad id", id); + return NULL; + } |