mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: ntptfs: guard against potential NtQueryDirectoryFile wonkiness
This commit is contained in:
parent
1ad13aebdb
commit
f7ba091364
@ -817,7 +817,7 @@ static NTSTATUS BufferedReadDirectory(FSP_FILE_SYSTEM *FileSystem,
|
||||
{
|
||||
if (QueryBuffer + BytesTransferred <
|
||||
(PUINT8)QueryInfo + FIELD_OFFSET(FILE_ID_BOTH_DIR_INFORMATION, FileName))
|
||||
break;
|
||||
goto done;
|
||||
|
||||
QueryNext = QueryInfo->NextEntryOffset;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user