net: dns: Check parsing error properly for response
If the packet parsing fails in dns_unpack_response_query(), then
do not continue further but bail out early.
Signed-off-by:
Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Loading
Please sign in to comment