From 6bf22cc723f6153500da75a9bcec661c37efc077 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 20 Sep 2000 08:26:37 +0000 Subject: Update. 2000-09-20 Andreas Jaeger * iconvdata/Makefile (generated): Add tst-tables.out. * intl/Makefile (generated): Add test output. 2000-09-19 Andreas Jaeger * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. Reported by Jens-Uwe Mager . --- sunrpc/clnt_simp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrpc/clnt_simp.c') 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; -- cgit v1.2.3