fd37c2ecb2
In a few MPTCP selftest tools, gcc 12 complains that the 'sock' variable
might be used uninitialized. This is a false positive because the only
code path that could lead to uninitialized access is where getaddrinfo()
fails, but the local xgetaddrinfo() wrapper exits if such a failure
occurs.
Initialize the 'sock' variable anyway to allow the tools to build with
gcc 12.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
config | ||
diag.sh | ||
Makefile | ||
mptcp_connect.c | ||
mptcp_connect.sh | ||
mptcp_inq.c | ||
mptcp_join.sh | ||
mptcp_sockopt.c | ||
mptcp_sockopt.sh | ||
pm_netlink.sh | ||
pm_nl_ctl.c | ||
settings | ||
simult_flows.sh | ||
userspace_pm.sh |