if (rxInterface == -1)
return NULL;
+ if (rpcop_stat == NULL)
+ return NULL;
+
MUTEX_ENTER(&rx_rpc_stats);
rpc_stat = rxi_FindRpcStat(&processStats, rxInterface, 0, 0,
0, 0, 0, 0, 0);
if (rxInterface == -1)
return NULL;
+ if (rpcop_stat == NULL)
+ return NULL;
+
peer = rxi_FindPeer(peerHost, peerPort, 0, 0);
if (!peer)
return NULL;