Author: tkreuzer
Date: Wed Aug 4 13:06:47 2010
New Revision: 48453
URL:
http://svn.reactos.org/svn/reactos?rev=48453&view=rev
Log:
[FASTFAT]
- Fix a check in VfatCreateFile. Patch by Pierre Schweitzer.
See issue #4571 for more details.
Modified:
trunk/reactos/drivers/filesystems/fastfat/create.c
Modified: trunk/reactos/drivers/filesystems/fastfat/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/create.c [iso-8859-1] Wed Aug 4 13:06:47
2010
@@ -522,7 +522,7 @@
return(STATUS_OBJECT_NAME_INVALID);
}
}
- if (FileObject->RelatedFileObject && PathNameU.Length >
sizeof(WCHAR) && PathNameU.Buffer[0] == L'\\')
+ if (FileObject->RelatedFileObject && PathNameU.Length >=
sizeof(WCHAR) && PathNameU.Buffer[0] == L'\\')
{
return(STATUS_OBJECT_NAME_INVALID);
}