zephyr/subsys/net/lib
Stephanos Ioannidis 8fe855f166 net: dns: Check query index in dns_read
This commit adds a check, in the `dns_read` function, before
dereferencing the query index returned by the `dns_validate_msg`
function.

This fixes the warnings generated by the GCC 12 such as:

  error: array subscript -1 is below array bounds of
  'struct dns_pending_query[5]' [-Werror=array-bounds]

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-09 14:20:28 +02:00
..
capture all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
coap net: coap: Remove resource pointer NULL check 2022-08-01 10:47:23 +02:00
config net: l2: ieee802154: decouple L2/L3 concerns 2022-08-04 13:44:06 +02:00
conn_mgr subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dns net: dns: Check query index in dns_read 2022-08-09 14:20:28 +02:00
http all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
lwm2m net: lwm2m: Allow string and opaque data types to be empty 2022-08-08 11:27:16 +02:00
mqtt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sntp subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets net: sockets: Fill the address structure provided in recvfrom() 2022-08-01 18:02:20 +02:00
socks subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tftp all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
tls_credentials subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
utils subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
websocket net: websocket: Allow building with POSIX API 2022-06-05 14:48:52 +02:00
CMakeLists.txt net: openthread: Move glue code into module directory 2022-07-11 11:00:12 +02:00
Kconfig