Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
deps: cherry-pick libuv commit 4690204
Browse files Browse the repository at this point in the history
libuv cannot be upgraded right now (API change in upstream libuv) but this
commit fixes a segmentation fault on SunOS systems, hence the cherry-pick.
  • Loading branch information
bnoordhuis committed May 28, 2012
1 parent f721d02 commit 0bd410a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/uv/src/unix/core.c
Expand Up @@ -317,8 +317,7 @@ static int uv_getaddrinfo_done(eio_req* req_) {
uv_getaddrinfo_t* req = req_->data;
struct addrinfo *res = req->res;
#if __sun
uv_getaddrinfo_t* handle = req->data;
size_t hostlen = strlen(handle->hostname);
size_t hostlen = strlen(req->hostname);
#endif

req->res = NULL;
Expand Down

0 comments on commit 0bd410a

Please sign in to comment.