Skip to content

Commit 1d80711

Browse files
authored
Merge pull request #1581 from Kamalheib/rxe
rxe: Fix uninit_use_in_call issues
2 parents 34944c1 + ac97606 commit 1d80711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: providers/rxe/rxe.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static struct ibv_srq *rxe_create_srq(struct ibv_pd *ibpd,
578578
struct rxe_srq *srq;
579579
struct ibv_srq *ibsrq;
580580
struct ibv_create_srq cmd;
581-
struct urxe_create_srq_resp resp;
581+
struct urxe_create_srq_resp resp = {};
582582
int ret;
583583

584584
srq = calloc(1, sizeof(*srq));
@@ -617,7 +617,7 @@ static struct ibv_srq *rxe_create_srq_ex(
617617
struct rxe_srq *srq;
618618
struct ibv_srq *ibsrq;
619619
struct ibv_create_xsrq cmd;
620-
struct urxe_create_srq_ex_resp resp;
620+
struct urxe_create_srq_ex_resp resp = {};
621621
int ret;
622622

623623
srq = calloc(1, sizeof(*srq));

0 commit comments

Comments
 (0)