Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/rpc.lockd



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.




Home | Main Index | Thread Index | Old Index