Source-Changes archive

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

CVS commit: [netbsd-2] src/usr.sbin/rpc.statd



Module Name:    src
Committed By:   jmc
Date:           Wed Dec 14 03:52:38 UTC 2005

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

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

        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.4.1 -r1.23.4.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.




Home | Main Index | Thread Index | Old Index