Skip to content

Commit

Permalink
prov/tcp: initialize addr_size when duplicating an av
Browse files Browse the repository at this point in the history
  • Loading branch information
ooststep authored and j-xiong committed Sep 6, 2024
1 parent ad3a40c commit 99c0ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/tcp/src/xnet_rdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ static int xnet_mplex_av_dup(struct util_ep *ep, struct xnet_mplex_av *mplex_av,
{
int ret, i;
struct util_av *subav;
size_t addr_size;
size_t addr_size = sizeof(struct sockaddr_in6);
char addr[sizeof(struct sockaddr_in6)];
struct fi_av_attr av_attr = {
.type = ep->domain->av_type,
Expand Down

0 comments on commit 99c0ce9

Please sign in to comment.