zephyr/subsys/net/lib/dns
Jordan Yates 0f1d7d3b59 net: dns: dispatcher: fix OOB array access
Validate that the file descriptor is not a negative number before
writing to the `dispatch_table` `ctx` field. Setting file descriptors
to `-1` is the standard "not in use" value, and in fact the entire array
of `fds` is set to this value in `dns_resolve_init_locked`. This
resolves memory corruption of whichever variable is unfortunate to exist
just before `dispatch_table` in memory.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-05-14 14:11:11 +02:00
..
CMakeLists.txt
dispatcher.c net: dns: dispatcher: fix OOB array access 2025-05-14 14:11:11 +02:00
dns_cache.c net: dns: Fix DNS caching bug 2025-02-05 23:49:17 +01:00
dns_cache.h net: dns: Fix DNS caching bug 2025-02-05 23:49:17 +01:00
dns_internal.h
dns_pack.c net: dns: Check compression flag properly 2025-03-31 22:00:36 +02:00
dns_pack.h net: mdns: Add support for iOS. 2025-03-20 12:16:43 +01:00
dns_sd.c
dns_sd.h
Kconfig net: mdns_responder: Implement probing support 2025-02-12 09:40:15 +01:00
llmnr_responder.c
mdns_responder.c net: mdns_responder: Print return value if error in socket call 2025-03-26 21:57:18 +01:00
resolve.c net: dns: Join mDNS multicast group for resolving 2025-03-07 20:28:03 +01:00