From owner-cvs-src@FreeBSD.ORG Mon Nov 14 17:39:01 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53E3B16A41F; Mon, 14 Nov 2005 17:39:01 +0000 (GMT) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 118C943D46; Mon, 14 Nov 2005 17:39:01 +0000 (GMT) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAEHd0d4038683; Mon, 14 Nov 2005 17:39:00 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAEHd0G4038682; Mon, 14 Nov 2005 17:39:00 GMT (envelope-from rodrigc) Message-Id: <200511141739.jAEHd0G4038682@repoman.freebsd.org> From: Craig Rodrigues Date: Mon, 14 Nov 2005 17:39:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/mount getmntopts.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 17:39:01 -0000 rodrigc 2005-11-14 17:39:00 UTC FreeBSD src repository Modified files: sbin/mount getmntopts.c Log: In build_iovec(), if passed in len is -1, check to see if val is NULL before doing strlen() to calculate new len. Submitted by: maxim Revision Changes Path 1.18 +6 -3 src/sbin/mount/getmntopts.c