Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/rpcgen Pull up revision 1.10 (requested by bouy...



details:   https://anonhg.NetBSD.org/src/rev/f1c5213c8277
branches:  netbsd-1-4
changeset: 469870:f1c5213c8277
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 16 23:27:46 1999 +0000

description:
Pull up revision 1.10 (requested by bouyer):
  Avoid rpcgen coredumps with a structure argument bigger than 8.

diffstat:

 usr.bin/rpcgen/rpc_parse.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 87ed245ac96c -r f1c5213c8277 usr.bin/rpcgen/rpc_parse.c
--- a/usr.bin/rpcgen/rpc_parse.c        Thu Dec 16 23:16:54 1999 +0000
+++ b/usr.bin/rpcgen/rpc_parse.c        Thu Dec 16 23:27:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_parse.c,v 1.9 1998/02/11 23:11:18 lukem Exp $      */
+/*     $NetBSD: rpc_parse.c,v 1.9.2.1 1999/12/16 23:27:46 he Exp $     */
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI";
 #else
-__RCSID("$NetBSD: rpc_parse.c,v 1.9 1998/02/11 23:11:18 lukem Exp $");
+__RCSID("$NetBSD: rpc_parse.c,v 1.9.2.1 1999/12/16 23:27:46 he Exp $");
 #endif
 #endif
 
@@ -487,7 +487,7 @@
        int     num;            /* arg number */
 {
        token   tok;
-       char    name[10];       /* argument name */
+       char    name[255];      /* argument name */
 
        if (dkind == DEF_PROGRAM) {
                peek(&tok);



Home | Main Index | Thread Index | Old Index