OVMS3-idf/components/mdns
David Cermak 67051a286b mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed
packets scheduled to transmit are pushed to action queue and removed from tx_queue_head structure, which is searched for all remaining services and while service is removed, then service questions/asnwers are also removed from this structure. This update fixes possible crash when packet is pushed to action queue, and when service is removed, its answers are removed from tx_queue_head, but not from action queue. this could lead to a crash when the packet is poped from action queue containing questions/answers to already removed (freed) service

Closes IDF-504
2019-03-13 10:22:41 +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 10:22:41 +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 Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
mdns.c mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed 2019-03-13 10:22:41 +01: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-15 15:59:11 +01:00