Open Shoons23 opened 1 month ago
// Modified: 824 line
if (backData != nullptr && *backLen > 0) {
if (*backLen < in.inf.size)
return STATUS_NO_ROOM;
*backLen = in.inf.size;
memcpy(backData, in.inf.data, in.inf.size);
}
// ... (Middle code omitted) ...
// Modified: 847 line
if (backData != nullptr && *backLen > 0) {
if ((*backLen + ackDataSize) > totalBackLen)
return STATUS_NO_ROOM;
memcpy(&(backData[*backLen]), ackData, ackDataSize);
*backLen += ackDataSize;
}
https://github.com/miguelbalboa/rfid
There was an issue of MFRC522 package