net: dns: Fix DNS resolver cache invalid find call
The size of the output array for the find call in resolver
is invalid: expected array size while overall memory size
provided. As the latter is bigger there is a high probability
of memory overwrite occurring on the stack.
Signed-off-by:
Krzysztof Bartnicki <krzysztof.bartnicki@embevity.com>
Loading
Please sign in to comment