Skip to content

Commit

Permalink
nfc: Fix MFUL PWD_AUTH command creation
Browse files Browse the repository at this point in the history
  • Loading branch information
GMMan committed Dec 30, 2024
1 parent 5fb9558 commit 60f1548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nfc/protocols/mf_ultralight/mf_ultralight_poller_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ MfUltralightError mf_ultralight_poller_auth_pwd(
furi_check(data);

uint8_t auth_cmd[5] = {MF_ULTRALIGHT_CMD_PWD_AUTH}; //-V1009
memccpy(&auth_cmd[1], data->password.data, 0, MF_ULTRALIGHT_AUTH_PASSWORD_SIZE);
memcpy(&auth_cmd[1], data->password.data, MF_ULTRALIGHT_AUTH_PASSWORD_SIZE);
bit_buffer_copy_bytes(instance->tx_buffer, auth_cmd, sizeof(auth_cmd));

MfUltralightError ret = MfUltralightErrorNone;
Expand Down

0 comments on commit 60f1548

Please sign in to comment.