- fix uninitialized string buffer in bot code.

SVN r3287 (trunk)
This commit is contained in:
Christoph Oelckers 2011-08-31 22:49:24 +00:00
parent 5747406776
commit f8bc459a21

View file

@ -474,6 +474,7 @@ static void appendinfo (char *&front, const char *back)
{
size_t newlen = strlen (back) + 2;
newstr = new char[newlen];
newstr[0] = 0;
}
strcat (newstr, "\\");
strcat (newstr, back);