Disabled assert for file name in NtQueryDirectoryFile.

This commit is contained in:
gibbed 2014-01-18 23:45:32 -08:00
parent 67e73cb33d
commit 8be076df32
1 changed files with 3 additions and 1 deletions

View File

@ -486,13 +486,15 @@ SHIM_CALL NtQueryDirectoryFile_shim(
return;
}
/*
if (file_name_ptr != 0) {
if (SHIM_MEM_16(file_name_ptr + 0) != 0 ||
SHIM_MEM_16(file_name_ptr + 2) != 0) {
const char* file_name = (const char *)SHIM_MEM_ADDR(SHIM_MEM_32(file_name_ptr + 4));
XEASSERT(strcmp(file_name, "*.*") == 0);
}
}
}
*/
X_STATUS result = X_STATUS_UNSUCCESSFUL;
uint32_t info = 0;