Skip to content

Commit

Permalink
prov/rxm: initialize entry to 0
Browse files Browse the repository at this point in the history
If the error entry is not initialized, the core provider
may try to save into err_data if err_data_size is set to
a bogus value indicating there is space when there is not.

Signed-off-by: Stephen Oost <stephen.oost@intel.com>
Signed-off-by: aingerson <alexia.ingerson@intel.com>
  • Loading branch information
aingerson committed Aug 3, 2021
1 parent 4acbd64 commit 5426311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/rxm/src/rxm_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ void rxm_process_shutdown(struct rxm_conn *conn)

static void rxm_handle_error(struct rxm_ep *ep)
{
struct fi_eq_err_entry entry;
struct fi_eq_err_entry entry = {0};
ssize_t ret;

assert(ofi_ep_lock_held(&ep->util_ep));
Expand Down

0 comments on commit 5426311

Please sign in to comment.