aboutsummaryrefslogtreecommitdiff
path: root/security/hpn-ssh/files/patch-channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/hpn-ssh/files/patch-channels.c')
-rw-r--r--security/hpn-ssh/files/patch-channels.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/hpn-ssh/files/patch-channels.c b/security/hpn-ssh/files/patch-channels.c
new file mode 100644
index 000000000000..fc11fc9c6bad
--- /dev/null
+++ b/security/hpn-ssh/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;
+ }