CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2010/03/08 12:34:44

Modified files:
        libexec/ftpd   : popen.c 

Log message:
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@

Reply via email to