From owner-cvs-src-old@FreeBSD.ORG Tue Apr 20 01:25:30 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 5C214106568B for ; Tue, 20 Apr 2010 01:25:30 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE578FC0C for ; Tue, 20 Apr 2010 01:25:30 +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 o3K1PUal023660 for ; Tue, 20 Apr 2010 01:25:30 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3K1PUkl023659 for cvs-src-old@freebsd.org; Tue, 20 Apr 2010 01:25:30 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201004200125.o3K1PUkl023659@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Tue, 20 Apr 2010 01:25:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdserv.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: Tue, 20 Apr 2010 01:25:30 -0000 rmacklem 2010-04-20 01:25:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfsserver nfs_nfsdserv.c Log: SVN rev 206882 on 2010-04-20 01:25:18Z by rmacklem MFC: r206236 Harden the experimental NFS server a little, by adding range checks on the length of the client's open/lock owner name. Also, add free()'s for one case where they were missing and would have caused a leak if NFSERR_BADXDR had been replied. Probably never happens, but the leak is now plugged, just in case. Revision Changes Path 1.5.2.5 +22 -0 src/sys/fs/nfsserver/nfs_nfsdserv.c