diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sunrpc/xdr.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b70d3370a5..0773d7ce18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com> + * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0. + * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is defined. diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c index b3f96ca4dc..129abd8f00 100644 --- a/sunrpc/xdr.c +++ b/sunrpc/xdr.c @@ -739,7 +739,7 @@ xdr_string (xdrs, cpp, maxsize) u_int maxsize; { char *sp = *cpp; /* sp is the actual string pointer */ - u_int size; + u_int size = 0; u_int nodesize; /* |