mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
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:
@@ -66,6 +66,8 @@ int main(int argc, char** argv)
|
||||
p->next = NULL;
|
||||
|
||||
// Pretend that the response is from our pending querries
|
||||
IP4_ADDR(&server_ip, 8, 8, 8, 8);
|
||||
dns_setserver(0, &server_ip);
|
||||
dns_test_inject_port_and_txid(1024, (buf[0]<<8) + buf[1]);
|
||||
dns_test_dns_enqueue("test", 4, NULL, NULL, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user