--- WWW/Library/Implementation/HTLex.c.old 2004-11-07 18:43:13.000000000 +0100 +++ WWW/Library/Implementation/HTLex.c 2005-09-25 01:19:13.153904104 +0200 @@ -97,7 +97,8 @@ LexItem lex(FILE *fp) } break; default: - HTlex_buffer[lex_cnt++] = (char) ch; + if (lex_cnt < 39) + HTlex_buffer[lex_cnt++] = (char) ch; HTlex_buffer[lex_cnt] = '\0'; if ('*' == ch) lex_template = YES;