mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Add minor case to fuzzer
This commit is contained in:
parent
c5a4a1c6f2
commit
5b265a76bd
@ -13,6 +13,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||||||
struct mg_str body = mg_str_n((const char *) data, size);
|
struct mg_str body = mg_str_n((const char *) data, size);
|
||||||
char tmp[256];
|
char tmp[256];
|
||||||
mg_http_get_var(&body, "key", tmp, sizeof(tmp));
|
mg_http_get_var(&body, "key", tmp, sizeof(tmp));
|
||||||
|
mg_http_get_var(&body, "key", NULL, 0);
|
||||||
mg_url_decode((char *) data, size, tmp, sizeof(tmp), 1);
|
mg_url_decode((char *) data, size, tmp, sizeof(tmp), 1);
|
||||||
mg_url_decode((char *) data, size, tmp, 1, 1);
|
mg_url_decode((char *) data, size, tmp, 1, 1);
|
||||||
mg_url_decode(NULL, 0, tmp, 1, 1);
|
mg_url_decode(NULL, 0, tmp, 1, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user