mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-26 22:41:03 +08:00
9 lines
233 B
C
9 lines
233 B
C
|
#include "mongoose.h"
|
||
|
|
||
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||
|
struct http_message req;
|
||
|
mg_parse_http((const char *) data, size, &req, 0);
|
||
|
mg_parse_http((const char *) data, size, &req, 1);
|
||
|
return 0;
|
||
|
}
|