diff --git a/patches/ntdll-Junction_Points/0014-ntdll-Add-an-intermediary-prefix-symlink-in-reparse-.patch b/patches/ntdll-Junction_Points/0014-ntdll-Add-an-intermediary-prefix-symlink-in-reparse-.patch index b370ad56..e0db8db0 100644 --- a/patches/ntdll-Junction_Points/0014-ntdll-Add-an-intermediary-prefix-symlink-in-reparse-.patch +++ b/patches/ntdll-Junction_Points/0014-ntdll-Add-an-intermediary-prefix-symlink-in-reparse-.patch @@ -1,4 +1,4 @@ -From 88bdec9c242b2b7eaafa7d47a09679c3681ae4af Mon Sep 17 00:00:00 2001 +From 236c1c30f4cf4550a6fc50d3a5be050ec79bac53 Mon Sep 17 00:00:00 2001 From: "Erich E. Hoover" Date: Sat, 6 Feb 2021 16:16:17 -0700 Subject: [PATCH] ntdll: Add an intermediary prefix symlink in reparse point @@ -10,7 +10,7 @@ Signed-off-by: Erich E. Hoover 1 file changed, 39 insertions(+) diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c -index 5d7095086d9..870a727b48f 100644 +index 5d7095086d9..6422bdc5ec1 100644 --- a/dlls/ntdll/unix/file.c +++ b/dlls/ntdll/unix/file.c @@ -3577,6 +3577,18 @@ static NTSTATUS get_reparse_target( UNICODE_STRING *nt_target, REPARSE_DATA_BUFF @@ -47,7 +47,7 @@ index 5d7095086d9..870a727b48f 100644 } + else if (find_prefix_end( unix_target, &relative_offset )) + { -+ char prefix_link[MAX_PATH]; ++ char prefix_link[PATH_MAX]; + + append_prefix = TRUE; + is_relative = FALSE;