Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2002 23:58:06 +0200
From:      Valentin Nechayev <netch@iv.nn.kiev.ua>
To:        freebsd-bugs@freebsd.org
Subject:   /bin/sh: MAXPWD
Message-ID:  <20020210235806.A491@iv.nn.kiev.ua>

next in thread | raw e-mail | index | archive | help
/bin/sh, both in -current and in -stable, limits allowed current directory
path to 256 chars (`#define MAXPWD 256' in cd.c). Why?
It may be more correct to use at least PATH_MAX or MAXPATHLEN...


/netch

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020210235806.A491>