Fix FfsParser issues found by fuzzing

Resolve alignment issue with guidToUstring
This commit is contained in:
Nikolaj Schlej 2023-02-26 14:28:23 -08:00
parent 75bf036137
commit b8567d32cc
8 changed files with 81 additions and 64 deletions

View file

@ -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;
}