Subject: CVS commit: [netbsd-1-6] src/usr.sbin/rpc.statd
To: None <>
From: James Chacon <>
List: source-changes
Date: 12/14/2005 03:38:37
Module Name:	src
Committed By:	jmc
Date:		Wed Dec 14 03:38:37 UTC 2005

Modified Files:
	src/usr.sbin/rpc.statd [netbsd-1-6]: statd.c

Log Message:
Pullup rev 1.25 (requested by bouyer in ticket #5970)

	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()

To generate a diff of this commit:
cvs rdiff -r1.20.2.4 -r1.20.2.5 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.