freebsd-skq/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
ftpd.c
logwtmp.c
Makefile
pathnames.h
popen.c