freebsd-dev/libexec/ftpd
Xin LI d56cc55917 Check that gl_pathc is bigger than zero before derefencing gl_pathv.
When gl_pathc == 0, the content of gl_pathv is undefined.

PR:		bin/144761
Submitted by:	David BERARD <contact davidberard fr>
Obtained from:	OpenBSD
MFC after:	1 week
2010-03-25 22:41:01 +00:00
..
config.h
extern.h
ftpchroot.5
ftpcmd.y
ftpd.8 Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
ftpd.c Really disable wtmp logging when chrooting. 2010-01-18 23:28:25 +00:00
logwtmp.c Set ut_line to "ftpd" for ftpd. 2010-02-09 07:35:12 +00:00
Makefile
pathnames.h
popen.c Check that gl_pathc is bigger than zero before derefencing gl_pathv. 2010-03-25 22:41:01 +00:00