From owner-cvs-all Thu Aug 2 14:46:25 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2EE4937B401; Thu, 2 Aug 2001 14:46:22 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f72LkMZ11770; Thu, 2 Aug 2001 14:46:22 -0700 (PDT) (envelope-from iedowse) Message-Id: <200108022146.f72LkMZ11770@freefall.freebsd.org> From: Ian Dowse Date: Thu, 2 Aug 2001 14:46:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpc.umntall mounttab.c rpc.umntall.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/08/02 14:46:21 PDT Modified files: usr.sbin/rpc.umntall mounttab.c rpc.umntall.c Log: Fix a few bugs, some of which I introduced in recent commits: - clean_mtab(): Actually use the strdup'd version of the host that we go to the trouble of creating. - do_umntall/do_umount: Don't return success if clnt_create() fails. Don't access a client pointer after it has been destroyed. Remember to destroy the authentication information we created. Revision Changes Path 1.5 +2 -2 src/usr.sbin/rpc.umntall/mounttab.c 1.8 +11 -13 src/usr.sbin/rpc.umntall/rpc.umntall.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message