Fix SEGFAULT if dns resolv error Upstream-commit: 7bb5ec3be6f3f52cd1aa65e4be20a6d6526a1d3a Component: engine