mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-27 21:44:24 -04:00
Fix FfsParser issues found by fuzzing
Resolve alignment issue with guidToUstring
This commit is contained in:
parent
75bf036137
commit
b8567d32cc
8 changed files with 81 additions and 64 deletions
|
@ -22,7 +22,7 @@ WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
// Make sure we use right packing rules
|
||||
#pragma pack(push,1)
|
||||
|
||||
extern UString guidToUString(const EFI_GUID& guid, bool convertToString = true);
|
||||
extern UString guidToUString(const char* in, bool convertToString = true);
|
||||
extern bool ustringToGuid(const UString& str, EFI_GUID& guid);
|
||||
extern UString fileTypeToUString(const UINT8 type);
|
||||
extern UString sectionTypeToUString(const UINT8 type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue