mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-29 19:18:39 -05:00 
			
		
		
		
	tst: ntptfs: guard against potential NtQueryDirectoryFile wonkiness
This commit is contained in:
		| @@ -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; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user