mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
Initialize sockaddr before binding
This commit is contained in:
@@ -2596,6 +2596,7 @@ raop_v2_timing_start_one(struct raop_service *svc, int family)
|
||||
}
|
||||
}
|
||||
|
||||
memset(&sa, 0, sizeof(union sockaddr_all));
|
||||
sa.ss.ss_family = family;
|
||||
|
||||
switch (family)
|
||||
@@ -2927,6 +2928,7 @@ raop_v2_control_start_one(struct raop_service *svc, int family)
|
||||
}
|
||||
}
|
||||
|
||||
memset(&sa, 0, sizeof(union sockaddr_all));
|
||||
sa.ss.ss_family = family;
|
||||
|
||||
switch (family)
|
||||
|
||||
Reference in New Issue
Block a user