From 146570dd748e849165146b6f10123a07db621b96 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Sat, 20 Aug 2016 01:11:46 -0700 Subject: [PATCH] dll: FspFileSystemResolveReparsePoints: return STATUS_OBJECT_PATH_NOT_FOUND when appropriate --- src/dll/fsop.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dll/fsop.c b/src/dll/fsop.c index 59035e10..13a30f42 100644 --- a/src/dll/fsop.c +++ b/src/dll/fsop.c @@ -1213,7 +1213,11 @@ FSP_API NTSTATUS FspFileSystemResolveReparsePoints(FSP_FILE_SYSTEM *FileSystem, /* it was not a reparse point; continue */ continue; else if (!NT_SUCCESS(Result)) + { + if (STATUS_OBJECT_NAME_NOT_FOUND == Result && '\0' == *p) + Result = STATUS_OBJECT_PATH_NOT_FOUND; return Result; + } /* found a reparse point */