HomeFreeBSD

rpc: fix __rpc_getconfip
rS241408Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

rpc: fix __rpc_getconfip

__rpc_getconfip is supposed to return the first netconf
entry supporting tcp or udp, respectively. The code will
currently return the *last* entry, plus it will leak
memory when there is more than one such entry.

Tested by: David Wolfskill
Obtained from: Bull GNU/linux NFSv4 Project (libtirpc)

Details

Provenance
pfgAuthored on
Parents
rS241407: MFC r241163:
Branches
Unknown
Tags
Unknown

Event Timeline