From owner-cvs-src-old@FreeBSD.ORG Thu May 6 00:24:25 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D60EC106564A for ; Thu, 6 May 2010 00:24:25 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AB6A08FC18 for ; Thu, 6 May 2010 00:24:25 +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 o460OPQD000199 for ; Thu, 6 May 2010 00:24:25 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o460OPsP000198 for cvs-src-old@freebsd.org; Thu, 6 May 2010 00:24:25 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201005060024.o460OPsP000198@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Thu, 6 May 2010 00:24:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/mountd mountd.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, 06 May 2010 00:24:25 -0000 rmacklem 2010-05-06 00:24:08 UTC FreeBSD src repository Modified files: usr.sbin/mountd mountd.c Log: SVN rev 207689 on 2010-05-06 00:24:08Z by rmacklem If the "-alldirs" export option was used for the V4: line, mountd would crash in check_options() since dp == NULL for the V4: line. This patch moves the check for options allowed on the V4: line to ahead of where dp is used to avoid this crash. Reported by: mamalos AT eng.auth.gr MFC after: 1 week Revision Changes Path 1.106 +4 -4 src/usr.sbin/mountd/mountd.c