(no subject)

axlas@orion.alaska.edu ("axlas@orion.alaska.edu")
Mon, 25 Jul 1994 17:13:44 -0400


Subject: Fixing the reflector code (again)

>At 11:42 AM 7/25/94 -0400, James Hill wrote:
> [...]
>DECStation also has problems with MAX-PARTICIPANTS
>
>MAX-PARTICIPANTS 8 Maximum connections (8) exceeded. Try xxx.xxx.xxx.xxx
>//
>
>is the line I have in reflect.conf on both Sun and DEC, but DEC system
>returns error
>
>93: MAX-PARTICIPANTS Configuration file is damaged: Bad CODE value line 93
>

The problem lies in the file load.c, at about line 90:

load_config(fname)
char *fname;
{
int icnt;
char code[16],line[101],buf[100],*configfile = CONFIGFILE;
int cnt,hb,mh,ml,lb;
char *tmp;
short status;

The problem is the allocation of code[]. I modified it to be

char code[20], <...>

and the problem went away.

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
| Leif Sawyer -= AXLAS@orion.alaska.edu | UAA CaTS Network Assistant |
| =- or -= leif@saturn.uaamath.alaska.edu | UAA - Computer Services CAS126 |
| USnail -= 925 Eagle #8, Anch AK 99501 | 3211 Providence, Anch AK 99508 |
| "Views expressed by me may not always be those #Defined by my employer." |
GAT d? p c++(+++) l++(+++) u+(-) e+ m* s+/ !n@ h- f+(*) g- w+(++) t++ r x+(*)