Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns_resolver: Null-terminate the right string
[ Upstream commit 640d7ef ] *_result[len] is parsed as *(_result[len]) which is not at all what we want to touch here. Signed-off-by: Ben Hutchings <[email protected]> Fixes: 84a7c0b ("dns_resolver: assure that dns_query() result is null-terminated") Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information