Skip to content
Commit 5c6b0035 authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: dns: dispatcher: Don't use uninitialized entries



In case CONFIG_DNS_RESOLVER_MAX_SERVERS is larger than the actual number
of DNS servers configured, some server entries may be left
uninitialized. The dispatcher needs to take this into account, otherwise
it may cause memory corruptions.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 7b854d82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment