Module Name: src
Committed By: snj
Date: Mon Sep 4 06:15:02 UTC 2017
Modified Files:
src/lib/libc/rpc [netbsd-7]: rpcb_st_xdr.c
Log Message:
Pull up following revision(s) (requested by ginsbach in ticket #1494):
lib/libc/rpc/rpcb_st_xdr.c: revision 1.12
PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr
There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat.
This fixes issues with RPCBPROC_GETSTAT not working correctly with
systems that correctly implement the XDR encode/decode routine.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.8.1 src/lib/libc/rpc/rpcb_st_xdr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/rpc/rpcb_st_xdr.c
diff -u src/lib/libc/rpc/rpcb_st_xdr.c:1.10 src/lib/libc/rpc/rpcb_st_xdr.c:1.10.8.1
--- src/lib/libc/rpc/rpcb_st_xdr.c:1.10 Mon Mar 11 20:19:29 2013
+++ src/lib/libc/rpc/rpcb_st_xdr.c Mon Sep 4 06:15:02 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: rpcb_st_xdr.c,v 1.10 2013/03/11 20:19:29 tron Exp $ */
+/* $NetBSD: rpcb_st_xdr.c,v 1.10.8.1 2017/09/04 06:15:02 snj Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -42,7 +42,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.10 2013/03/11 20:19:29 tron Exp $");
+__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.10.8.1 2017/09/04 06:15:02 snj Exp $");
#endif
#include "namespace.h"
@@ -257,6 +257,9 @@ xdr_rpcb_stat(XDR *xdrs, rpcb_stat *objp
if (!xdr_rpcbs_addrlist_ptr(xdrs, &objp->addrinfo)) {
return (FALSE);
}
+ if (!xdr_rpcbs_rmtcalllist_ptr(xdrs, &objp->rmtinfo)) {
+ return (FALSE);
+ }
return (TRUE);
}