Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acerto na lib MFRC522Extended.cpp #641

Closed
Fernandolilo opened this issue Oct 9, 2024 · 0 comments
Closed

acerto na lib MFRC522Extended.cpp #641

Fernandolilo opened this issue Oct 9, 2024 · 0 comments
Labels
duplicate 🤸 already exist

Comments

@Fernandolilo
Copy link

acerte os 2 trechos do codigo na lib citada acima,

nas linhas 824 e 847 veja as correções que estou passando dentro das estrutura.

if (backData != nullptr && backLen != nullptr && *backLen > 0) {
if (*backLen < in.inf.size)
return STATUS_NO_ROOM;

*backLen = in.inf.size;
memcpy(backData, in.inf.data, in.inf.size);

}

if (backData != nullptr && backLen != nullptr && *backLen > 0) {
if ((*backLen + ackDataSize) > totalBackLen)
return STATUS_NO_ROOM;

memcpy(&(backData[*backLen]), ackData, ackDataSize);
*backLen += ackDataSize;

}

@Rotzbua Rotzbua added the duplicate 🤸 already exist label Feb 17, 2025
@Rotzbua Rotzbua closed this as completed Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 🤸 already exist
Projects
None yet
Development

No branches or pull requests

2 participants