From d1bde95011f48593b56b27abbb77f0960e16ea5a Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Fri, 6 Jan 2023 16:50:07 -0600 Subject: [PATCH] Updated ntdll-NtDevicePath patchset. --- ...ntdll-Implement-opening-files-through-nt-device-path.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/ntdll-NtDevicePath/0001-ntdll-Implement-opening-files-through-nt-device-path.patch b/patches/ntdll-NtDevicePath/0001-ntdll-Implement-opening-files-through-nt-device-path.patch index 1159ad9d..203eb2e3 100644 --- a/patches/ntdll-NtDevicePath/0001-ntdll-Implement-opening-files-through-nt-device-path.patch +++ b/patches/ntdll-NtDevicePath/0001-ntdll-Implement-opening-files-through-nt-device-path.patch @@ -194,8 +194,8 @@ index 67e0c6f0b40..25a03ef84f1 100644 + else + return nt_to_unix_file_name_internal( attr, name_ret, disposition ); + -+ name_len = sizeof(dosprefixW) + wcslen(prefix) * sizeof(WCHAR) + -+ nameW->Length - offset * sizeof(WCHAR) + sizeof(WCHAR); ++ name_len = sizeof(dosprefixW) + wcslen(prefix) * sizeof(WCHAR) ++ + sizeof(WCHAR) /* '\\' */ + nameW->Length - offset * sizeof(WCHAR) + sizeof(WCHAR); + if (!(name = malloc( name_len ))) + return STATUS_NO_MEMORY; +