mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-14 07:04:49 -04:00
Revert "Fix FfsParser issues found by fuzzing"
This reverts commit b8567d32cc
.
This commit is contained in:
parent
6aeb713488
commit
aa3e790fb1
8 changed files with 64 additions and 81 deletions
|
@ -178,10 +178,8 @@ UINT32 uint24ToUint32(const UINT8* ffsSize)
|
|||
+ ((UINT32) ffsSize[2] << 16U);
|
||||
}
|
||||
|
||||
UString guidToUString(const char* in, bool convertToString)
|
||||
UString guidToUString(const EFI_GUID & guid, bool convertToString)
|
||||
{
|
||||
const EFI_GUID guid = readUnaligned((EFI_GUID*)in);
|
||||
|
||||
if (convertToString) {
|
||||
UString readableName = guidDatabaseLookup(guid);
|
||||
if (!readableName.isEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue