diff options
author | AdamKorcz <adam@adalogics.com> | 2020-12-12 19:26:04 +0000 |
---|---|---|
committer | AdamKorcz <adam@adalogics.com> | 2020-12-12 19:26:04 +0000 |
commit | f746a28e71c14ce0adca17e4998514e5d19c317e (patch) | |
tree | babe1a99f57af902f6b618dfc73fa84607301909 /fuzzing | |
parent | 940a04f4ddb29356aa22aa88fea2d17ab3b20aea (diff) |
Removed 2 typecasts
Diffstat (limited to 'fuzzing')
-rw-r--r-- | fuzzing/format_command_fuzzer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzing/format_command_fuzzer.c b/fuzzing/format_command_fuzzer.c index 88d0b7a..e5633b4 100644 --- a/fuzzing/format_command_fuzzer.c +++ b/fuzzing/format_command_fuzzer.c @@ -36,10 +36,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { - if((int)size<3) + if(size<3) return 0; - char *new_str = (char *)malloc(size+1); + char *new_str = malloc(size+1); if (new_str == NULL) return 0; |