fix buffer overflow in d_deh.c

This commit is contained in:
Roman Fomin 2025-04-28 17:45:08 +07:00
parent 550ceb4b3f
commit 2361f851de

View File

@ -1918,7 +1918,7 @@ static void deh_procThing(DEHFILE *fpin, char *line)
{
size_t iy;
for (iy = 0; iy < arrlen(deh_mobjflags); iy++)
for (iy = 0; iy < arrlen(deh_mobjflags_mbf21); iy++)
{
if (strcasecmp(strval,
deh_mobjflags_mbf21[iy].name))