cppcheck: fix size of pointer <> size of data

This commit is contained in:
Philippe Teuwen
2026-02-06 22:19:11 +01:00
committed by Philippe Teuwen
parent 45b6939dff
commit cb1f66f9f4
+2 -2
View File
@@ -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;