Prevent buffer overflow
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ struct obj *objs;
|
|||||||
boolean here;
|
boolean here;
|
||||||
int *menu_on_demand;
|
int *menu_on_demand;
|
||||||
{
|
{
|
||||||
char ilets[20], inbuf[BUFSZ];
|
char ilets[30], inbuf[BUFSZ]; /* FIXME: hardcoded ilets[] length */
|
||||||
int iletct, oclassct;
|
int iletct, oclassct;
|
||||||
boolean not_everything;
|
boolean not_everything;
|
||||||
char qbuf[QBUFSZ];
|
char qbuf[QBUFSZ];
|
||||||
|
|||||||
Reference in New Issue
Block a user