summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2019-08-06 13:41:47 -0400
committerSteve Dickson <steved@redhat.com>2019-09-26 15:25:06 -0400
commit06a3103a871de29478e499818ef227779c1dd9a6 (patch)
treefc1020a67954310ff4774c7b064b376efa33de99
parentb5937e1414e1600d788fd1d689b4f64a09422d03 (diff)
downloadrpcbind-06a3103a871de29478e499818ef227779c1dd9a6.tar.gz
rpcinfo: Removed overun from src/rpcb_stat.c
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--src/rpcb_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcb_stat.c b/src/rpcb_stat.c
index ca6f75e..2e5226c 100644
--- a/src/rpcb_stat.c
+++ b/src/rpcb_stat.c
@@ -151,7 +151,7 @@ rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog,
rpcbs_rmtcalllist *rl;
struct netconfig *nconf;
- if (rtype > RPCBVERS_STAT)
+ if (rtype >= RPCBVERS_STAT)
return;
for (rl = inf[rtype].rmtinfo; rl; rl = rl->next) {