NtCreateFile per MSDN should have the EALength attribute set to zero, not null
This commit is contained in:
parent
73989983f8
commit
84e65dbfd1
|
@ -2881,7 +2881,7 @@ XBSYSAPI EXPORTNUM(190) xboxkrnl::NTSTATUS NTAPI xboxkrnl::NtCreateFile
|
|||
NTSTATUS ret = NtDll::NtCreateFile
|
||||
(
|
||||
FileHandle, DesiredAccess, &NtObjAttr, (NtDll::IO_STATUS_BLOCK*)IoStatusBlock,
|
||||
(NtDll::LARGE_INTEGER*)AllocationSize, FileAttributes, ShareAccess, CreateDisposition, CreateOptions, NULL, NULL
|
||||
(NtDll::LARGE_INTEGER*)AllocationSize, FileAttributes, ShareAccess, CreateDisposition, CreateOptions, NULL, 0
|
||||
);
|
||||
|
||||
// If we're trying to open a regular file as a directory, fallback to
|
||||
|
@ -2922,7 +2922,7 @@ XBSYSAPI EXPORTNUM(190) xboxkrnl::NTSTATUS NTAPI xboxkrnl::NtCreateFile
|
|||
ret = NtDll::NtCreateFile
|
||||
(
|
||||
FileHandle, DesiredAccess, &NtObjAttr, (NtDll::IO_STATUS_BLOCK*)IoStatusBlock,
|
||||
(NtDll::LARGE_INTEGER*)AllocationSize, FileAttributes, ShareAccess, CreateDisposition, CreateOptions, NULL, NULL
|
||||
(NtDll::LARGE_INTEGER*)AllocationSize, FileAttributes, ShareAccess, CreateDisposition, CreateOptions, NULL, 0
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue