CVSROOT:        /cvs
Module name:    src
Changes by:     jas...@cvs.openbsd.org  2010/03/12 06:27:38

Modified files:
        libexec/ftpd   : Tag: OPENBSD_4_5 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@

Reply via email to