mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: FspUnicodePathIsValid: check and return stream type
This commit is contained in:
@ -1274,7 +1274,7 @@ NTSTATUS FspMainFileOpen(
|
||||
PFILE_OBJECT MainFileObject;
|
||||
|
||||
/* assert that the supplied name is actually a main file name */
|
||||
ASSERT(FspUnicodePathIsValid(MainFileName, 0));
|
||||
ASSERT(FspUnicodePathIsValid(MainFileName, 0, 0));
|
||||
|
||||
*PMainFileHandle = 0;
|
||||
*PMainFileObject = 0;
|
||||
|
Reference in New Issue
Block a user