Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5318 closed Bug (fixed)

socket leak

Reported by: reportbug_1029 Owned by: jordan
Priority: Normal Milestone: 2.80
Component: libtransmission Version: 2.77
Severity: Normal Keywords: backport-2.7x


libtransmission/net.c: 265 sourcelen = setup_sockaddr (source_addr, 0, &source_sock); 266 if (bind (s, (struct sockaddr *) &source_sock, sourcelen)) 267 { 268 tr_err (_("Couldn't set source address %s on %d: %s"), 269 tr_address_to_string (source_addr), s, tr_strerror (errno)); 270 return -errno; 271 } didn't close bad socket. eg: setting bind-address-ipv6 to fe80::, will cause socket leak, and use up all fds.

Change History (3)

comment:1 Changed 10 years ago by jordan

  • Keywords backport-2.7x added
  • Milestone changed from None Set to 2.80
  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 10 years ago by jordan

Thanks for reporting this, reportbug_1029 :)

comment:3 Changed 10 years ago by x190

Fixed in r14069.

Last edited 10 years ago by x190 (previous) (diff)
Note: See TracTickets for help on using tickets.