Skip to content

Commit

Permalink
fix: initialize reason_buf_len in es10b_cancel_session_r (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto authored Sep 9, 2024
1 parent 9e0612b commit 0dcc949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euicc/es10b.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ int es10b_cancel_session_r(struct euicc_ctx *ctx, char **b64_CancelSessionRespon
int fret = 0;
struct euicc_derutil_node n_request, n_transactionId, n_reason;
uint8_t reason_buf[sizeof(enum es10b_cancel_session_reason)];
uint32_t reason_buf_len;
uint32_t reason_buf_len = sizeof(reason_buf);
uint32_t reqlen;
uint8_t *respbuf = NULL;
unsigned resplen;
Expand Down

0 comments on commit 0dcc949

Please sign in to comment.