summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-11-17 14:07:54 +0800
committerHao Wu <hao.a.wu@intel.com>2016-11-21 09:23:25 +0800
commit6a62309459e36d59e4cfe14885fa3ed807841c62 (patch)
treeafe1c242b874577667ba9d38061fc22e8fa80c4f /SecurityPkg
parent632dcfd6857b6211ce3fe9755d3c11e74ef5d447 (diff)
downloadedk2-6a62309459e36d59e4cfe14885fa3ed807841c62.tar.gz
edk2-6a62309459e36d59e4cfe14885fa3ed807841c62.tar.bz2
edk2-6a62309459e36d59e4cfe14885fa3ed807841c62.zip
MdePkg BaseLib: API PathRemoveLastItem not handle root paths properly
https://bugzilla.tianocore.org/show_bug.cgi?id=239 When the input path for API PathRemoveLastItem() is a root path like 'fs0:\', the API will return TRUE (indicating a directory or file was removed from the path) and modifies the path to 'fs0:'. In fact, there's no directory or file removed in the above case. This commit adds additional check to resolve this issue and modifies the API's description to make it more straightforward. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'SecurityPkg')
0 files changed, 0 insertions, 0 deletions