mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04:00
Engine 0.20.4
- solved a crash during handling of a malformed DEPEX section
This commit is contained in:
parent
0fb1a57a97
commit
4c290c5204
5 changed files with 8 additions and 4 deletions
|
@ -1256,6 +1256,7 @@ UINT8 FfsEngine::parseDepexSection(const QByteArray & body, QString & parsed)
|
|||
current += EFI_DEP_OPCODE_SIZE;
|
||||
break;
|
||||
default:
|
||||
return ERR_DEPEX_PARSE_FAILED;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1305,6 +1306,9 @@ UINT8 FfsEngine::parseDepexSection(const QByteArray & body, QString & parsed)
|
|||
return ERR_DEPEX_PARSE_FAILED;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return ERR_DEPEX_PARSE_FAILED;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue