curl-curl/tests/server
Viktor Szakats d38bf7949d
tests/server: fix to clear the complete srvr_sockaddr_union_t variable
Reported by clang-tidy (seen on Linux with v18, v19, v20, not on macOS):
```
tests/server/dnsd.c:552:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/dnsd.c:556:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/rtspd.c:1183:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/rtspd.c:1187:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/sws.c:2235:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/sws.c:2239:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/tftpd.c:1188:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/tftpd.c:1192:14: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/util.c:860:21: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
tests/server/util.c:864:21: error: 1st function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
```
Ref: https://github.com/curl/curl/actions/runs/22424827575/job/64930560425?pr=20725

Cherry-picked from #20725

Closes #20730
2026-02-26 04:19:18 +01:00
..
.checksrc build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt cmake: replace internal option with a new testbins target 2026-02-25 22:57:02 +01:00
dnsd.c tests/server: fix to clear the complete srvr_sockaddr_union_t variable 2026-02-26 04:19:18 +01:00
first.c build: use more const 2026-02-02 12:32:49 +01:00
first.h clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
getpart.c build: use more const 2026-02-02 12:32:49 +01:00
Makefile.am localtime: detect thread-safe alternatives and use them 2025-12-16 14:30:06 +01:00
Makefile.inc curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
mqttd.c clang-tidy: avoid/silence bugprone-not-null-terminated-result 2026-02-25 22:11:05 +01:00
resolve.c build: use more const 2026-02-02 12:32:49 +01:00
rtspd.c tests/server: fix to clear the complete srvr_sockaddr_union_t variable 2026-02-26 04:19:18 +01:00
sockfilt.c tests/server/sockfilt: check for NULL tv to silence clang-tidy 2026-02-20 12:08:52 +01:00
socksd.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
sws.c tests/server: fix to clear the complete srvr_sockaddr_union_t variable 2026-02-26 04:19:18 +01:00
tftpd.c tests/server: fix to clear the complete srvr_sockaddr_union_t variable 2026-02-26 04:19:18 +01:00
util.c tests/server: fix to clear the complete srvr_sockaddr_union_t variable 2026-02-26 04:19:18 +01:00