audk/SecurityPkg
Wenyi Xie 99e7e48cc7 SecurityPkg/FvReportPei: remove redundant sizeof
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3333

In function InstallPreHashFvPpi, when calculating the size
of struct HASH_INFO, sizeof is used twice. This bug does
not lead to buffer overflow, "sizeof (HASH_INFO)" is 4,
whereas "sizeof (sizeof (HASH_INFO))" is 4 or 8.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
2021-04-16 08:39:59 +00:00
..
FvReportPei SecurityPkg/FvReportPei: remove redundant sizeof 2021-04-16 08:39:59 +00:00
Hash2DxeCrypto SecurityPkg/Hash2DxeCrypto: Remove SHA1 support 2020-11-17 19:26:50 +00:00
HddPassword SecurityPkg/HddPassword: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
Include SecurityPkg: Tcg2Smm: Separate Tcg2Smm into 2 modules 2021-03-05 15:25:07 +00:00
Library SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance 2021-02-01 10:03:35 -08:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Fix few typos 2020-02-10 22:30:07 +00:00
RandomNumberGenerator/RngDxe SecurityPkg: Fix few typos 2020-02-10 22:30:07 +00:00
Tcg SecurityPkg/Tcg2Smm: Initialize local Status variable 2021-04-13 01:57:43 +00:00
VariableAuthenticated/SecureBootConfigDxe SecurityPkg/VariableAuthenticated: Fix few typos 2020-02-10 22:30:07 +00:00
SecurityPkg.ci.yaml SecurityPkg: Tcg2Smm: Added support for Standalone Mm 2021-03-05 15:25:07 +00:00
SecurityPkg.dec SecurityPkg: Tcg2Smm: Added support for Standalone Mm 2021-03-05 15:25:07 +00:00
SecurityPkg.dsc SecurityPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib 2021-03-31 05:47:10 +00:00
SecurityPkg.uni SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
SecurityPkgExtra.uni SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00