summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds/GuidSection.py
diff options
context:
space:
mode:
authorJim.Dailey@dell.com <Jim.Dailey@dell.com>2018-10-04 23:03:28 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-10-12 11:46:17 +0800
commit7177be0bd8d372ef7eaa86df538bd45ec841ed23 (patch)
tree14991df105c2d03a6d7da14bd62af27186af4121 /BaseTools/Source/Python/GenFds/GuidSection.py
parent8122c6bc8b6f1fde31f2af6c1560ec552204980d (diff)
downloadedk2-7177be0bd8d372ef7eaa86df538bd45ec841ed23.tar.gz
edk2-7177be0bd8d372ef7eaa86df538bd45ec841ed23.tar.bz2
edk2-7177be0bd8d372ef7eaa86df538bd45ec841ed23.zip
MdePkg-BaseLib: Fix PathCleanUpDirectories() error involving "\..\.."
MdePkg-BaseLib: Fix PathCleanUpDirectories() error involving "\..\.." The loop that removes "xxxx\..\" errs when multiple "\.." sequences are in the path. Before this change the code would modify a path like "FS0:\efi\tools\..\.." to "FS0:\efi\\.." and then to "FS0:\efi\", but the correct path is "FS0:\". You can test the effect of this change in the shell by setting the current directory to something like FS0:\efi\boot and then executing the command "ls ..\..". Before the change you will see the files in the FS0:\efi directory; after the change, you will see the files in the root directory of FS0:. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jim Dailey <jim_dailey@dell.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/GuidSection.py')
0 files changed, 0 insertions, 0 deletions