Date: Thu, 2 Aug 2001 14:46:22 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpc.umntall mounttab.c rpc.umntall.c Message-ID: <200108022146.f72LkMZ11770@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108022146.f72LkMZ11770>
