From owner-cvs-src-old@FreeBSD.ORG Thu Mar 25 22:41:15 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 132F7106566B for ; Thu, 25 Mar 2010 22:41:15 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DACD58FC1B for ; Thu, 25 Mar 2010 22:41:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2PMfEsp000207 for ; Thu, 25 Mar 2010 22:41:14 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2PMfEOu000206 for cvs-src-old@freebsd.org; Thu, 25 Mar 2010 22:41:14 GMT (envelope-from delphij@repoman.freebsd.org) Message-Id: <201003252241.o2PMfEOu000206@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to delphij@repoman.freebsd.org using -f From: Xin LI Date: Thu, 25 Mar 2010 22:41:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd popen.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 22:41:15 -0000 delphij 2010-03-25 22:41:01 UTC FreeBSD src repository Modified files: libexec/ftpd popen.c Log: SVN rev 205656 on 2010-03-25 22:41:01Z by delphij 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 Obtained from: OpenBSD MFC after: 1 week Revision Changes Path 1.27 +2 -1 src/libexec/ftpd/popen.c