mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-06-14 04:16:15 -07:00
* fix: [Common] FwVendor/OemId Array compared against 0 Since it is an array the test evaluates as true and the check is unnecessary.(CWE-398) UINT8 FwVendor[EFI_ACPI_PSD_FW_VENDOR_SIZE]; UINT8 OemId[6]; Signed-off-by: Randy <randy.lin@intel.com> * fix: [Common] Unchecked return value for HeciGetMeMode If the function returns an error value, the error value may be mistaken for a normal value. In HeciSend: Value returned from a function is not checked for errors before being used. (CWE-252) Signed-off-by: Randy <randy.lin@intel.com> --------- Signed-off-by: Randy <randy.lin@intel.com>