Subject: CVS commit: [netbsd-3] src/usr.sbin/rpc.statd
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 11/27/2005 22:55:29
Module Name: src
Committed By: riz
Date: Sun Nov 27 22:55:29 UTC 2005
Modified Files:
src/usr.sbin/rpc.statd [netbsd-3]: statd.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1007):
usr.sbin/rpc.statd/statd.c: revision 1.25
We can't call db->put() with key or data pointing back to db(3)'s memory
space, or the database will be corrupted (noticed when the database is
updated in reset_host()). Change change_host() to copy hostname and HostInfo
to local storage before calling db->put().
Change notify_one() to use change_host() instead of calling db->put()
directly.
To generate a diff of this commit:
cvs rdiff -r1.23.6.1 -r1.23.6.2 src/usr.sbin/rpc.statd/statd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.