Disabled assert for file name in NtQueryDirectoryFile.
This commit is contained in:
@@ -486,13 +486,15 @@ 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) {
|
||||||
const char* file_name = (const char *)SHIM_MEM_ADDR(SHIM_MEM_32(file_name_ptr + 4));
|
const char* file_name = (const char *)SHIM_MEM_ADDR(SHIM_MEM_32(file_name_ptr + 4));
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user