mirror of https://github.com/google/oss-fuzz.git
Small change to maintain the existing corpus (#8176)
Co-authored-by: Max Shavrick <mxms@google.com>
This commit is contained in:
parent
791f8bb1ff
commit
78ecd3f07f
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue