lwip fuzzer: supplied dummy dns server entry to work with internal packet processing functionwhich is exercised in fuzzer tests, disable CTYPE as recent newlib is not compatible with AFL

This commit is contained in:
David Cermak
2019-06-28 14:12:10 +02:00
parent 785e711561
commit ffca1825e6
3 changed files with 4 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ struct pbuf * pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
p = (struct pbuf *)malloc(MEMP_PBUF_POOL);
p->tot_len = length;
p->next = NULL;
p->type = PBUF_POOL;
p->type_internal = PBUF_POOL;
p->len = length;
p->payload = malloc(length);
return p;