Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

unix: fix close() of potentially uninitialized fd

  • Loading branch information...
bnoordhuis committed Sep 25, 2011
1 parent 8f617b9 commit 01441ab02f35bf2ca54dce440ad9440602f46be4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/unix/udp.c
@@ -301,6 +301,7 @@ static int uv__udp_bind(uv_udp_t* handle,

saved_errno = errno;
status = -1;
fd = -1;

/* Check for bad flags. */
if (flags & ~UV_UDP_IPV6ONLY) {

0 comments on commit 01441ab

Please sign in to comment.
You can’t perform that action at this time.