Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

int.c: fix possible uninitialized value call when socket family detec…

…tion fails
  • Loading branch information...
commit c5e52979a82b11d80256e76b7f4932e63860808f 1 parent a48cb9a
Jan Synacek authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  xinetd/int.c
3  xinetd/int.c
View
@@ -109,7 +109,8 @@ static int get_server_socket( struct intercept_s *ip )
struct service *sp = SERVER_SERVICE( INT_SERVER( ip ) ) ;
union xsockaddr *sinp = INT_LOCALADDR( ip ) ;
int sd ;
- socklen_t size ;
+ socklen_t size = AF_UNIX ;
+
const char *func = "get_server_socket" ;
if( SC_IPV6(SVC_CONF(sp)) ) {
Please sign in to comment.
Something went wrong with that request. Please try again.