Commit 94af4799 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit 15.3.1 upon wine-1.8.4

parent af38b309
......@@ -2110,7 +2110,7 @@ static int read_directory_getdirentries( int fd, IO_STATUS_BLOCK *io, void *buff
}
}
while (res > 0)
while (res > 0 && dir_reclen(de))
{
res -= dir_reclen(de);
if (de->d_fileno &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment