summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/MetaDataParser.py
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2015-12-12 19:28:21 +0000
committermdkinney <mdkinney@Edk2>2015-12-12 19:28:21 +0000
commit898378c2be038bfbee21a8dd284a3dc3c5bb8f5e (patch)
treef2db4a4b8d99e596921fcb4183662fa6fad9d292 /BaseTools/Source/Python/Ecc/MetaDataParser.py
parent4754f80b8159f0391300ab0de8a24c9635e1ae28 (diff)
downloadedk2-platforms-898378c2be038bfbee21a8dd284a3dc3c5bb8f5e.tar.xz
ShellPkg/Shell - Fix ASSERT() when FvSimpleFileSystemDxe is used
When the FvSimpleFileSystemDxe module is included in a platform, Simple File System Protocols are produced for firmware volumes(FV) that do not have the same style device paths as file systems with file names. The ShellPkg has an assumption that the device path contains device path nodes of type MEDIA_FILEPATH_DP and generates an ASSERT() if any other device path nodes are encountered. This change removes the ASSERT() condition and instead returns NULL that means EfiShellGetFilePathFromDevicePath() can not convert the device path nodes that represent the file path to a Unicode string. Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19228 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Ecc/MetaDataParser.py')
0 files changed, 0 insertions, 0 deletions