Bug in size of "switches" array in xtermset.c
Status: Beta
Brought to you by:
breyten
line 34:
int main(int argc, char argv[])
{
int i,style,code,switches[2];
char fn[2][MAXFNCHARS-1],c,tok;
char line[MAXOPTCHARS+10]; / ? /
FILE rcfile=NULL;
argument argptr = NULL;
for(i=0;i<3;i++) { switches[i]=0; fn[i][0]='\0'; }
...
switches array is of length 2, but should be of length 3.