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,6 +486,7 @@ SHIM_CALL NtQueryDirectoryFile_shim(
return; return;
} }
/*
if (file_name_ptr != 0) { if (file_name_ptr != 0) {
if (SHIM_MEM_16(file_name_ptr + 0) != 0 || if (SHIM_MEM_16(file_name_ptr + 0) != 0 ||
SHIM_MEM_16(file_name_ptr + 2) != 0) { SHIM_MEM_16(file_name_ptr + 2) != 0) {
@ -493,6 +494,7 @@ SHIM_CALL NtQueryDirectoryFile_shim(
XEASSERT(strcmp(file_name, "*.*") == 0); XEASSERT(strcmp(file_name, "*.*") == 0);
} }
} }
*/
X_STATUS result = X_STATUS_UNSUCCESSFUL; X_STATUS result = X_STATUS_UNSUCCESSFUL;
uint32_t info = 0; uint32_t info = 0;