From 06a3103a871de29478e499818ef227779c1dd9a6 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 6 Aug 2019 13:41:47 -0400 Subject: rpcinfo: Removed overun from src/rpcb_stat.c Signed-off-by: Steve Dickson --- src/rpcb_stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1