diff options
author | Guomin Jiang <guomin.jiang@intel.com> | 2020-04-15 11:33:08 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-22 01:55:34 +0000 |
commit | 1755932f89e0b32fa09232661a5ae6c357f4e471 (patch) | |
tree | 0577ffe6761ff46b2c3ab8f580256e244514a415 /BaseTools/Source/Python/Common/VariableAttributes.py | |
parent | b447a20bdfb2ff24ba048bb3026c902c4768a7e9 (diff) | |
download | edk2-1755932f89e0b32fa09232661a5ae6c357f4e471.tar.gz edk2-1755932f89e0b32fa09232661a5ae6c357f4e471.tar.bz2 edk2-1755932f89e0b32fa09232661a5ae6c357f4e471.zip |
SecurityPkg/TPM: measure UEFI images without associated device paths again
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2652
DxeTpm2MeasureBootHandler() and DxeTpmMeasureBootHandler() functions may
receive a FileBuffer argument that is not associated with any particular
device path (e.g., because the UEFI image has not been loaded from any
particular device path).
Therefore rejecting (File==NULL) at the top of the function is invalid.
Fixes: 4b026f0d5af36faf3a3629a3ad49c51b5b3be12f
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/VariableAttributes.py')
0 files changed, 0 insertions, 0 deletions