summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/Database.py
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2020-03-18 09:12:27 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-06 06:04:17 +0300
commit55d6e39f72ba2003ef59aac91af34e96a09060db (patch)
tree59ad9a310ec8acdf69bbbc3126cb0f8473f06b6e /BaseTools/Source/Python/Ecc/Database.py
parent8dd962a657b28d9db65ed7a35817a4b82f06301a (diff)
downloadedk2-55d6e39f72ba2003ef59aac91af34e96a09060db.tar.xz
FmpDevicePkg/FmpDxe: Fix uninitialized pointer dereference
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2602 Zero the allocated buffer in case GetImageInfo `continue` in the middle of a loop. This will cause unexpected GetImageInfo failure not clearing the corresponding entry and lead to GP faults when dereferencing this entry. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Wei6 Xu <wei6.xu@intel.com> Reviewed-by: Guomin Jiang <guomin.jiang@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Database.py')
0 files changed, 0 insertions, 0 deletions