Prevent buffer overflow

This commit is contained in:
Pasi Kallinen
2015-11-12 22:01:47 +02:00
parent c1e34f17f7
commit ca02f00208

View File

@@ -144,7 +144,7 @@ struct obj *objs;
boolean here;
int *menu_on_demand;
{
char ilets[20], inbuf[BUFSZ];
char ilets[30], inbuf[BUFSZ]; /* FIXME: hardcoded ilets[] length */
int iletct, oclassct;
boolean not_everything;
char qbuf[QBUFSZ];