Came across a version of PFS3AIO with an excessive number of hunk relocations in the binary compared to the ones I've seen.
Fixes segmentation fault when loading said file systems, requires `make` and `make clean` to take effect.
struct FileSysHeaderBlock * fhb;
uint32_t FS_ID;
uint32_t handler;
struct FileSysHeaderBlock * fhb;
uint32_t FS_ID;
uint32_t handler;
- struct hunk_reloc relocs[512];
+ struct hunk_reloc relocs[4096];
struct hunk_info h_info;
uint8_t *binary_data;
};
struct hunk_info h_info;
uint8_t *binary_data;
};