summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2016-04-01 16:37:53 +0800
committerFeng Tian <feng.tian@intel.com>2016-04-21 15:53:09 +0800
commit18b50d66d3fc2bd03ebb698f5bfb1a1743dfbe91 (patch)
tree1ad09dcc2f6e02bdc83d2252c3473848f383bed7 /BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py
parentb5e44fbc15085270adfc777c0f2c1890c1e9790f (diff)
downloadedk2-18b50d66d3fc2bd03ebb698f5bfb1a1743dfbe91.tar.gz
edk2-18b50d66d3fc2bd03ebb698f5bfb1a1743dfbe91.tar.bz2
edk2-18b50d66d3fc2bd03ebb698f5bfb1a1743dfbe91.zip
MdeModulePkg/UsbKbDxe: don't assert when the key read is invalid
The GetKeyDescriptor() may return NULL when the KeyData is invalid. For such case, we should go to error handling path rather than assert Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py')
0 files changed, 0 insertions, 0 deletions