Subject: CVS commit: src/usr.sbin/rpc.lockd
To: None <source-changes@netbsd.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 06/19/2003 11:13:08
Module Name:	src
Committed By:	bouyer
Date:		Thu Jun 19 11:13:07 UTC 2003

Modified Files:
	src/usr.sbin/rpc.lockd: lockd_lock.c

Log Message:
We can't keep a reference to the value returned by svc_getrpccaller().
Instead malloc() some memory and copy the sockaddr returned there.
Fix a bug where after a blocked lock gets granted, the grant message would
be sent to the wrong machine (or possibly to a completely bogus address).

While there, add a NULL check for the return value of another malloc().


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/usr.sbin/rpc.lockd/lockd_lock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.