esp-idf/components/mdns
David Cermak 0e06b4d653 mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service
Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.
2019-03-13 16:24:03 +01:00
..
include MDNS-Fuzzer: AFL fuzzer tests for mdsn packet parser 2018-05-22 11:23:12 +02:00
private_include mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed 2019-03-13 16:24:03 +01:00
test_afl_fuzz_host added CI job for AFL fuzzer tests 2018-07-20 10:28:12 +02:00
CMakeLists.txt cmake: make main a component again 2018-09-11 09:44:12 +08:00
component.mk Import mDNS changes 2018-01-16 10:58:34 +02:00
Kconfig fix(mdns): add the maximum number of services 2018-06-21 10:31:09 +08:00
mdns_console.c Import mDNS changes 2018-01-16 10:58:34 +02:00
mdns_networking.c mdns: fix memory leak in pbuf if tcpipadapter failed to get netif 2019-02-21 06:43:23 +00:00
mdns.c mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service 2019-03-13 16:24:03 +01:00