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

Fix null pointer check for ndef_buffer_length in doReadT4tData function #153

Open
wants to merge 1 commit into
base: NCI2.0_PN7160
Choose a base branch
from

Conversation

Matteoz
Copy link

@Matteoz Matteoz commented Feb 2, 2025

Fix compiler error with gcc 13.x

src/service/linux_nfc_api.cpp:382:51: error: ordered comparison of pointer with integer zero ('int*' and 'int')
382 | if (ndef_buffer == NULL || ndef_buffer_length <= 0) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant