forked from github/server
Bug 1984: length of ship description is longer than a name, size buffer
appropriately.
This commit is contained in:
parent
a774f882e5
commit
29124b92e2
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue