6ee7c85891
Not returning if rtype == RPCBVERS_STAT will cause us to overrun the inf array, as it's defined to be exactly RPCBVERS_STAT elements in rpcb_prot.x: > include/rpc/rpcb_prot.x:typedef rpcb_stat rpcb_stat_byvers[RPCBVERS_STAT]; The proposed change also matches the rest of the rtype upper bound checks in the file, so the original change was likely a typo. MFC after: 2 weeks Reported by: Coverity CID: 1007567 Reviewed by: truckman Sponsored by: EMC / Isilon Storage Division |
||
---|---|---|
.. | ||
tests | ||
check_bound.c | ||
Makefile | ||
Makefile.depend | ||
pmap_svc.c | ||
rpcb_stat.c | ||
rpcb_svc_4.c | ||
rpcb_svc_com.c | ||
rpcb_svc.c | ||
rpcbind.8 | ||
rpcbind.c | ||
rpcbind.h | ||
security.c | ||
util.c | ||
warmstart.c |