Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dns: dispatcher: Don't use uninitialized entires
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: Robert Lubos <[email protected]>
- Loading branch information