sys: IRP_MJ_QUERY_DIRECTORY

This commit is contained in:
Bill Zissimopoulos
2016-03-22 16:39:12 -07:00
parent 0095b3c1dc
commit 62191fba36
3 changed files with 545 additions and 279 deletions

View File

@ -121,6 +121,8 @@ PVOID FspAllocateIrpMustSucceed(CCHAR StackSize)
BOOLEAN FspUnicodePathIsValid(PUNICODE_STRING Path, BOOLEAN AllowStreams)
{
/* this does NOT check if the Path contains invalid file name chars (*, ?, etc.) */
PAGED_CODE();
if (0 != Path->Length % sizeof(WCHAR))