OVMS3-idf/components/mdns
David Cermak f8310c4a67 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:32:50 +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:32:50 +01:00
test_afl_fuzz_host remove executable permission from source files 2018-05-29 20:07:45 +08:00
CMakeLists.txt cmake: make main a component again 2018-09-13 11:13:27 +08:00
component.mk Import mDNS changes 2018-01-16 10:58:34 +02: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:32:50 +01:00
mdns_console.c Import mDNS changes 2018-01-16 10:58:34 +02:00
mdns_networking.c Merge branch 'bugfix/mdns_udp_send_protected_backport3.1' into 'release/v3.1' 2019-01-11 15:36:57 +08:00