diff options
author | Zeng, Star <star.zeng@intel.com> | 2019-08-09 09:53:45 +0800 |
---|---|---|
committer | Hao A Wu <hao.a.wu@intel.com> | 2019-08-12 09:46:47 +0800 |
commit | 4053587347a4c68402c1fc40921b7f1cdaec900e (patch) | |
tree | 57b471c66cfdf8822343baa07b70fcb5a4b12d6e /BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | |
parent | 1a624dd7cf0db5783b27e18e6c790178d14a1e6a (diff) | |
download | edk2-4053587347a4c68402c1fc40921b7f1cdaec900e.tar.gz edk2-4053587347a4c68402c1fc40921b7f1cdaec900e.tar.bz2 edk2-4053587347a4c68402c1fc40921b7f1cdaec900e.zip |
SourceLevelDebugPkg DebugCommLibUsb3: Address NULL ptr dereference case
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2051
Original code GetConfigTable for AddrPtr first, if failed,
InstalConfigTable with allocated AddrPtr. So the AddrPtr
should not be NULL and the NULL pointer dereference case
should be false positive. This patch is just to address
the case raised from static analysis.
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceDatabase.py')
0 files changed, 0 insertions, 0 deletions