mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-24 21:12:46 -06: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