diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-04-04 20:47:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-04-04 20:47:29 +0000 |
commit | 7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926 (patch) | |
tree | 9b8a04127df288b73c3cec99474832a286acd96c /sunrpc/pmap_rmt.c | |
parent | 91682d7038c0247ba1a52925b284fcb59756546e (diff) | |
download | glibc-7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926.tar.gz glibc-7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926.tar.xz glibc-7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926.zip |
* sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
of trying to encode uninitialized arglen. 2005-04-04 Ulrich Drepper <drepper@redhat.com> * timezone/scheck.c: Update from tzcode2005h. * timezone/tzfile.h: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. * timezone/antarctica: Update from tzdata2005h. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/etcetera: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/leapseconds: Likewise. * timezone/iso3166.tab: Likewise.
Diffstat (limited to 'sunrpc/pmap_rmt.c')
-rw-r--r-- | sunrpc/pmap_rmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index 644d503a1f..e068848919 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -125,8 +125,9 @@ xdr_rmtcall_args (XDR *xdrs, struct rmtcallargs *cap) INTUSE(xdr_u_long) (xdrs, &(cap->vers)) && INTUSE(xdr_u_long) (xdrs, &(cap->proc))) { + u_long dummy_arglen = 0; lenposition = XDR_GETPOS (xdrs); - if (!INTUSE(xdr_u_long) (xdrs, &(cap->arglen))) + if (!INTUSE(xdr_u_long) (xdrs, &dummy_arglen)) return FALSE; argposition = XDR_GETPOS (xdrs); if (!(*(cap->xdr_args)) (xdrs, cap->args_ptr)) |