Merge "gethostbyname: fix crash"

This commit is contained in:
Nick Kralevich 2013-02-22 19:32:37 +00:00 committed by Android (Google) Code Review
commit 5d36baee95

View file

@ -753,6 +753,7 @@ gethostbyname_internal(const char *name, int af, res_state res, const char *ifac
}
proxy = android_open_proxy();
if (proxy == NULL) goto exit;
/* This is writing to system/netd/DnsProxyListener.cpp and changes
* here need to be matched there */