Small change to maintain the existing corpus (#8176)

Co-authored-by: Max Shavrick <mxms@google.com>
This commit is contained in:
Max 2022-08-06 14:12:35 -07:00 committed by GitHub
parent 791f8bb1ff
commit 78ecd3f07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
FuzzedDataProvider stream(data, size);
const FuzzerType f = stream.ConsumeEnum<FuzzerType>();
(void) stream.ConsumeIntegral<int>();
// Keep this here to not spoil the corpus or reproducers
static const char* fname = "ext2_test_file";

View File

@ -32,6 +32,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
FuzzedDataProvider stream(data, size);
const FuzzerType f = stream.ConsumeEnum<FuzzerType>();
(void) stream.ConsumeIntegral<int>();
static const char* fname = "ext2_test_file";