Skip to content

Commit

Permalink
Format sources
Browse files Browse the repository at this point in the history
  • Loading branch information
skotopes committed Jun 28, 2023
1 parent 190bbb3 commit 2697f8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/nfc/protocols/slix.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,10 @@ bool slix2_protocol_filter( // -V524
}

if(allowed) {
memcpy(&nfcv_data->data[nfcv_data->block_size * block_num], &ctr_new, 4);//-V1086
memcpy( //-V1086
&nfcv_data->data[nfcv_data->block_size * block_num],
&ctr_new,
4);
} else {
/* incorrect read or write password */
ctx->response_buffer[0] = NFCV_RES_FLAG_ERROR;
Expand Down

0 comments on commit 2697f8e

Please sign in to comment.