Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/test/unit/unit_tests_dns_dhcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,9 @@ START_TEST(test_sock_sendto_more_error_paths)
int udp_sd;
int icmp_sd;
struct tsocket *ts;
struct wolfIP_sockaddr_in sin;
/* Zero-initialized: this error-path test passes &sin into sendto without
* filling it, which newer clang flags under -Wuninitialized-const-pointer. */
struct wolfIP_sockaddr_in sin = {0};
uint8_t buf[64];
uint8_t tiny[128];
uint8_t tiny_udp[32];
Expand Down
Loading