Changed description when no event data is provided for EV_EFI_BOOT_SERVICES_APPLICATION

This commit is contained in:
iadgovuser26 2020-06-10 17:54:15 -04:00
parent 7f5d97e9fa
commit 47fd1085cb

View File

@ -65,7 +65,7 @@ public class EvEfiBootServicesApp {
System.arraycopy(bootServices, UefiConstants.SIZE_24, lengthBytes, 0, UefiConstants.SIZE_8);
// if (imageLength != 0) {
devicePathLength = HexUtils.leReverseInt(lengthBytes);
if(devicePathLength !=0) {
if (devicePathLength != 0) {
byte[] devPathBytes = new byte[devicePathLength];
System.arraycopy(bootServices, UefiConstants.SIZE_32, devPathBytes,
0, devicePathLength);