mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
We need to pass a non-empty buffer into the read routine because the return code EFI_BUFFER_TOO_SMALL is expected only for directories. Properly, the right way is to retrieve file size using FatGetInfo or FileGetInfo, but this will significantly slow down the fuzzing process, that's why we use 100-byte temporary buffer