-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilities: Correct TestFatDxe/TestNtfsDxe fuzzer logic
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
- Loading branch information
1 parent
425cd5c
commit 53a00be
Showing
2 changed files
with
69 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters