Files
randylintw 7f941e57a2 Fix Coverity issues. (#1950)
* 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>
2023-07-10 11:52:25 -07:00
..
2023-07-10 11:52:25 -07:00