aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh/files/patch-channels.c
blob: fc11fc9c6bad3b35ad3015230cab850a0f307153 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
    }