Skip to content

Commit

Permalink
Hardcode address length lol
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Dec 8, 2023
1 parent 1f97c31 commit 5766f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/adios2/toolkit/sst/dp/rdma_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ static DP_RS_Stream RdmaInitReader(CP_Services Svcs, void *CP_Stream, void **Rea
return NULL;
}

ContactInfo->Length = Fabric->info->src_addrlen;
ContactInfo->Length = 24;
ContactInfo->Address = malloc(ContactInfo->Length);
if (guard_fi_return(
fi_getname((fid_t)Fabric->signal, ContactInfo->Address, &ContactInfo->Length), Svcs,
Expand Down Expand Up @@ -1342,7 +1342,7 @@ static DP_WSR_Stream RdmaInitWriterPerReader(CP_Services Svcs, DP_WS_Stream WS_S
ContactInfo = calloc(1, sizeof(struct _RdmaWriterContactInfo));
ContactInfo->WS_Stream = WSR_Stream;

ContactInfo->Length = Fabric->info->src_addrlen;
ContactInfo->Length = 24;
ContactInfo->Address = malloc(ContactInfo->Length);
if (guard_fi_return(
fi_getname((fid_t)Fabric->signal, ContactInfo->Address, &ContactInfo->Length), Svcs,
Expand Down

0 comments on commit 5766f5a

Please sign in to comment.