summaryrefslogtreecommitdiff
path: root/sunrpc/clnt_simp.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-09-20 08:26:37 +0000
committerAndreas Jaeger <aj@suse.de>2000-09-20 08:26:37 +0000
commit6bf22cc723f6153500da75a9bcec661c37efc077 (patch)
tree03a6f9f119ca85f446cb941cd29ee3749346f8b8 /sunrpc/clnt_simp.c
parenta066186c1833862d71cb139825bf02c1dc4ccbe1 (diff)
Update.
2000-09-20 Andreas Jaeger <aj@suse.de> * iconvdata/Makefile (generated): Add tst-tables.out. * intl/Makefile (generated): Add test output. 2000-09-19 Andreas Jaeger <aj@suse.de> * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. Reported by Jens-Uwe Mager <jum@helios.de>.
Diffstat (limited to 'sunrpc/clnt_simp.c')
-rw-r--r--sunrpc/clnt_simp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/clnt_simp.c b/sunrpc/clnt_simp.c
index e1e7e2ab73..19c03b0ba7 100644
--- a/sunrpc/clnt_simp.c
+++ b/sunrpc/clnt_simp.c
@@ -128,7 +128,7 @@ callrpc (const char *host, u_long prognum, u_long versnum, u_long procnum,
crp->oldprognum = prognum;
crp->oldversnum = versnum;
(void) strncpy (crp->oldhost, host, 255);
- crp->oldhost[256] = '\0';
+ crp->oldhost[255] = '\0';
}
tottimeout.tv_sec = 25;
tottimeout.tv_usec = 0;