freebsd-skq/libexec/ftpd
delphij e7582f97cf 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 Move variable externs into extern.h so they are checked against the definitions. 2009-04-07 20:34:34 +00:00
ftpchroot.5
ftpcmd.y Move variable externs into extern.h so they are checked against the definitions. 2009-04-07 20:34:34 +00:00
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 Fix compilation of ftpcmd.y without -DINET6. 2006-06-05 15:50:34 +00:00
pathnames.h
popen.c Check that gl_pathc is bigger than zero before derefencing gl_pathv. 2010-03-25 22:41:01 +00:00