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:   nia
Date:           Sat Oct 30 11:04:48 UTC 2021

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

Log Message:
rpcbind(8): Use reallocarr, fix reallocation logic.

In my_svc_run(), only update the fd count _after_ the allocation
succeeds (which may be after waiting in the loop). This function
previously tried to go to a label that doesn't exist. I wonder why
GCC didn't catch this before but does now.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/rpcbind/rpcb_svc_com.c
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/rpcbind/rpcbind.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