zephyr/subsys/net/lib/dns
Robert Lubos 0ae7812f6b net: dns_sd: Prevent dead code in query parsing
The number of buffer provided was verified in the final else block of a
long validation sequence. It would never be executed though, as one of
the conditions before would always evaluate to true.

As the number of buffers provided verification appears to be significant
in this case, as the buffers are referenced during other validations,
move this check at the beginning of the sequence instead. This also
eliminates the dead-code problem.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-06-03 04:13:46 -04:00
..
CMakeLists.txt
dns_internal.h
dns_pack.c
dns_pack.h
dns_sd.c net: dns_sd: Prevent dead code in query parsing 2023-06-03 04:13:46 -04:00
dns_sd.h iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
Kconfig
llmnr_responder.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mdns_responder.c net: lib: dns: mdns_responder: Fix ipv4/ipv6 address handling 2023-04-19 11:55:40 -04:00
resolve.c net: dns: Check existing DNS servers before reconfigure 2023-03-14 12:27:15 -04:00