mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
cppcheck: fix size of pointer <> size of data
This commit is contained in:
committed by
Philippe Teuwen
parent
45b6939dff
commit
cb1f66f9f4
+2
-2
@@ -754,8 +754,8 @@ void SimulateSeos(seos_emulate_req_t *msg) {
|
||||
|
||||
mac_input_idx = 0;
|
||||
|
||||
memcpy(mac_input + mac_input_idx, rndCounter, sizeof(rndCounter));
|
||||
mac_input_idx += sizeof(rndCounter);
|
||||
memcpy(mac_input + mac_input_idx, rndCounter, bs);
|
||||
mac_input_idx += bs;
|
||||
memcpy(mac_input + mac_input_idx, dynamic_response_info.response + tlv_base, tlv_idx - tlv_base);
|
||||
mac_input_idx += tlv_idx - tlv_base;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user