Source-Changes archive

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

CVS commit: src/usr.sbin/rpcbind



Module Name:    src
Committed By:   dsl
Date:           Mon Aug 27 19:51:50 UTC 2007

Modified Files:
        src/usr.sbin/rpcbind: rpcb_svc_com.c

Log Message:
This code has been broken for ~ 20 years!
Initialise the 'fromlen' parameter for recvfrom() prior to the call, instead
of passing in a 'random' value off the stack.
This should fix the problems with ypbind on current.
I suspect the old kernel was not objecting to -ve buffer lengths.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/usr.sbin/rpcbind/rpcb_svc_com.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