mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
improve fuzzing
This commit is contained in:
1 parent
9bc4d9741e
commit
38b6b13547
2 files changed
+96
-10
No files matched your search
+6
-6
@@ -147,12 +147,12 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
.gw_ready = true,
|
||||
.state = MG_TCPIP_STATE_READY,
|
||||
#if MG_ENABLE_IPV6
|
||||
.ip6[0] = 1;
|
||||
.prefix[0] = 1;
|
||||
.prefix_len = 64;
|
||||
.gw6[0] = 1;
|
||||
.gw6_ready = true;
|
||||
.state6 = MG_TCPIP_STATE_READY; // so mg_send() works and RS stops
|
||||
.ip6[0] = 1,
|
||||
.prefix[0] = 1,
|
||||
.prefix_len = 64,
|
||||
.gw6[0] = 1,
|
||||
.gw6_ready = true,
|
||||
.state6 = MG_TCPIP_STATE_READY, // so mg_send() works and RS stops
|
||||
#endif
|
||||
.driver = &mg_tcpip_driver_mock};
|
||||
struct mg_mgr mgr;
|
||||
|
||||
Reference in new issue
Block a user