]> git.pld-linux.org Git - packages/openssh.git/blob - openssh-pine-cert-20020301.patch
- SECURITY fix for off-by-one
[packages/openssh.git] / openssh-pine-cert-20020301.patch
1 --- openssh/channels_old.c      Mon Mar  4 02:07:06 2002
2 +++ openssh/channels.c  Mon Mar  4 02:07:16 2002
3 @@ -151,8 +151,8 @@
4  channel_lookup(int id)
5  {
6         Channel *c;
7  
8 -       if (id < 0 || id > channels_alloc) {
9 +       if (id < 0 || id >= channels_alloc) {
10                 log("channel_lookup: %d: bad id", id);
11                 return NULL;
12         }
This page took 0.139969 seconds and 3 git commands to generate.