Removed 2 typecasts
This commit is contained in:
parent
940a04f4dd
commit
f746a28e71
@ -36,10 +36,10 @@
|
|||||||
|
|
||||||
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||||
|
|
||||||
if((int)size<3)
|
if(size<3)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
char *new_str = (char *)malloc(size+1);
|
char *new_str = malloc(size+1);
|
||||||
if (new_str == NULL)
|
if (new_str == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user