Merge "gethostbyname: fix crash"
This commit is contained in:
commit
5d36baee95
@ -753,6 +753,7 @@ gethostbyname_internal(const char *name, int af, res_state res, const char *ifac
|
|||||||
}
|
}
|
||||||
|
|
||||||
proxy = android_open_proxy();
|
proxy = android_open_proxy();
|
||||||
|
if (proxy == NULL) goto exit;
|
||||||
|
|
||||||
/* This is writing to system/netd/DnsProxyListener.cpp and changes
|
/* This is writing to system/netd/DnsProxyListener.cpp and changes
|
||||||
* here need to be matched there */
|
* here need to be matched there */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user