openssh bugs in snapshot for nextstep (fwd)

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Tue Feb 13 03:23:38 EST 2001


I was sent this from Mark Miller.   Should we be using MAXPATHLEN
instead of PATH_MAX in the upstream tree?  Not all systems define
PATH_MAX.

- Ben

--- sftp-int.c.orig     Sat Feb 10 13:56:08 2001
+++ sftp-int.c  Sun Feb 11 23:33:26 2001
@@ -435,5 +435,5 @@
        unsigned long n_arg;
        Attrib a, *aa;
-       char path_buf[PATH_MAX];
+       char path_buf[MAXPATHLEN];

        path1 = path2 = NULL;



--
   _/ mark miller
  _/ markm at swoon.net
 _/
_/ NeXTmail OK






More information about the openssh-unix-dev mailing list