Mon Jul 12 23:30:24 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* webcit.c: exit Webcit sessions semi-gracefully when the connection
to a Citadel server fails.
+ * messages.c: don't auto-link URL's in messages if it would cause
+ a buffer overrun.
Sat Jul 10 17:51:39 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* Recompiled the Java chat applet using a genuine JDK 1.0.2
int start, end;
char ench;
char urlbuf[256];
- char outbuf[256];
+ char outbuf[1024];
start = (-1);
end = strlen(buf);
sprintf(&outbuf[start], "%cA HREF=%c%s%c TARGET=%c%s%c%c%s%c/A%c",
LB, QU, urlbuf, QU, QU, TARGET, QU, RB, urlbuf, LB, RB);
strcat(outbuf, &buf[end]);
- strcpy(buf, outbuf);
+ if ( strlen(outbuf) < 250 )
+ strcpy(buf, outbuf);
}