mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -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
|
@ -27,5 +27,8 @@ extern "C" int LLVMFuzzerTestOneInput(const char *Data, long long Size) {
|
|||
// Parse the image
|
||||
(void)ffsParser->parse(UByteArray(Data, (uint32_t)Size));
|
||||
|
||||
delete ffsParser;
|
||||
delete model;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue