From f407f65a904c7fd27829b8aef71458217f73bac3 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 8 Apr 2016 22:19:40 -0700 Subject: [PATCH] dll: FspFileSystemSetMountPoint: bug fix --- src/dll/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dll/dispatch.c b/src/dll/dispatch.c index 2499ea47..1c341891 100644 --- a/src/dll/dispatch.c +++ b/src/dll/dispatch.c @@ -141,7 +141,7 @@ FSP_API NTSTATUS FspFileSystemSetMountPoint(FSP_FILE_SYSTEM *FileSystem, PWSTR M if (0 == MountPoint) return STATUS_INSUFFICIENT_RESOURCES; MountPoint[1] = L':'; - MountPoint[1] = L'\0'; + MountPoint[2] = L'\0'; Drives = GetLogicalDrives(); if (0 != Drives)