Bug 1984: length of ship description is longer than a name, size buffer

appropriately.
This commit is contained in:
Enno Rehling 2014-02-06 10:45:52 +01:00
parent a774f882e5
commit 29124b92e2
1 changed files with 1 additions and 1 deletions

View File

@ -1194,7 +1194,7 @@ faction *readfaction(struct gamedata * data)
ally **sfp; ally **sfp;
int planes, n; int planes, n;
faction *f; faction *f;
char name[NAMESIZE]; char name[DISPLAYSIZE];
READ_INT(data->store, &n); READ_INT(data->store, &n);
f = findfaction(n); f = findfaction(n);