Source-Changes archive

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

CVS commit: [netbsd-1-6] src/usr.sbin/rpc.lockd



Module Name:    src
Committed By:   grant
Date:           Mon Jun 30 02:27:39 UTC 2003

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

Log Message:
Apply patch (requested by bouyer in ticket #1347):

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.8 -r1.8.2.1 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