audk/Nt32Pkg/WinNtSimpleFileSystemDxe
qwang12 4d3840844d In this fix, WinNtSimpleFileSystemOpen only trims the leading and trailing blank space in the input FileName. The previous implementation before this fix trims all the trailing dots including the case for ".\..", which should move the directory up one level.
A new function IsFileNameValid is added to check if input FileName is valid. If the FileName meets the following scenirio, it will be considered to be invalid:
1) There is two "\" in the path. For example, ".\SomePath\\".
2) There is a least one "/" in the path. The reason is that UEFI 2.1 specifcation only mention that ".", ".." and "\" is valid path modifiers.
3) There is more than two continous dots in the path name token. For example, ".\SomePath\....\SomeName.txt".


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4973 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 12:35:56 +00:00
..
ComponentName.c Modify all file header to follow doxygen format 2008-03-19 03:23:16 +00:00
WinNtSimpleFileSystem.c In this fix, WinNtSimpleFileSystemOpen only trims the leading and trailing blank space in the input FileName. The previous implementation before this fix trims all the trailing dots including the case for ".\..", which should move the directory up one level. 2008-04-01 12:35:56 +00:00
WinNtSimpleFileSystem.h Modify all file header to follow doxygen format 2008-03-19 03:23:16 +00:00
WinNtSimpleFileSystem.msa
WinNtSimpleFileSystemDxe.inf