mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 08:40:36 +08:00
* fuzz/wget_ntlm_fuzzer.c: Add explicit cast for C++ compilation
This commit is contained in:
parent
027d294114
commit
d4431a0b97
@ -79,9 +79,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
|
||||
// CLOSE_STDERR
|
||||
|
||||
struct ntlmdata *ntlm = calloc(1, sizeof(struct ntlmdata));
|
||||
char *data0 = malloc(size + 4 + 1);
|
||||
char *val;
|
||||
struct ntlmdata *ntlm = (struct ntlmdata *) calloc(1, sizeof(struct ntlmdata));
|
||||
char *data0 = (char *) malloc(size + 4 + 1);
|
||||
bool ready;
|
||||
|
||||
assert(ntlm && data0);
|
||||
|
Loading…
Reference in New Issue
Block a user