diff options
author | Andreas Jaeger <aj@suse.de> | 2000-09-20 08:26:37 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-09-20 08:26:37 +0000 |
commit | 6bf22cc723f6153500da75a9bcec661c37efc077 (patch) | |
tree | 03a6f9f119ca85f446cb941cd29ee3749346f8b8 /sunrpc | |
parent | a066186c1833862d71cb139825bf02c1dc4ccbe1 (diff) | |
download | glibc-6bf22cc723f6153500da75a9bcec661c37efc077.zip glibc-6bf22cc723f6153500da75a9bcec661c37efc077.tar.gz glibc-6bf22cc723f6153500da75a9bcec661c37efc077.tar.bz2 |
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')
-rw-r--r-- | sunrpc/clnt_simp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/clnt_simp.c b/sunrpc/clnt_simp.c index e1e7e2a..19c03b0 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; |