CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/03/12 06:27:11
Modified files:
libexec/ftpd : Tag: OPENBSD_4_6 popen.c
Log message:
MFC, original commit by kettenis@:
---------------------------
Check that gl_pathc is bigger than zero before derefencing gl_pathv. While
this shouldn't happen since we specifiy GLOB_NOMAGIC, it doesn't hurt to be
paranoid, even if we fix the bug in glob(3) that causes gl_pathc to be zero
even if we specify GLOB_NOMAGIC.
ok deraadt@
---------------------------
ok sthen@