mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-23 05:27:40 +08:00
FIX: memcpy bug...
This commit is contained in:
parent
9932c55a4a
commit
17a9ca0cdc
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ bool setDemodBufferEM(uint32_t *word, size_t idx){
|
|||
|
||||
//test for even parity bits.
|
||||
uint8_t parity[45] = {0};
|
||||
memcpy( parity, 45, DemodBuffer);
|
||||
memcpy( parity, DemodBuffer, 45);
|
||||
if (!EMwordparitytest(parity) ){
|
||||
PrintAndLog("DEBUG: Error - EM Parity tests failed");
|
||||
return FALSE;
|
||||
|
|
Loading…
Add table
Reference in a new issue