sys,launcher: MUP volume prefixes (share names) are now case insensitive

This commit is contained in:
Bill Zissimopoulos
2016-09-11 14:35:56 -07:00
parent f89c91cd10
commit 997476f015
4 changed files with 9 additions and 8 deletions

View File

@ -505,9 +505,7 @@ NTSTATUS FspVolumeRedirQueryPathEx(
if (!FspIoqStopped(FsvolDeviceExtension->Ioq))
{
if (0 < FsvolDeviceExtension->VolumePrefix.Length &&
QueryPathRequest->PathName.Length >= FsvolDeviceExtension->VolumePrefix.Length &&
RtlEqualMemory(QueryPathRequest->PathName.Buffer,
FsvolDeviceExtension->VolumePrefix.Buffer, FsvolDeviceExtension->VolumePrefix.Length) &&
FspFsvolDeviceVolumePrefixInString(FsvolDeviceObject, &QueryPathRequest->PathName) &&
(QueryPathRequest->PathName.Length == FsvolDeviceExtension->VolumePrefix.Length ||
'\\' == QueryPathRequest->PathName.Buffer[FsvolDeviceExtension->VolumePrefix.Length / sizeof(WCHAR)]))
{