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

setIncomingAndReceive() should be called before data access #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

z4yx
Copy link

@z4yx z4yx commented Aug 11, 2019

When I test this applet on J2A040 with T=0 protocol, I found invalid data in APDU buffer. By adding apdu.setIncomingAndReceive() call before data access on case 3/4 APDU, the problem was solved.

@rpavlik
Copy link

rpavlik commented Dec 26, 2023

This fixes #51 which actually was a real bug.

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

Successfully merging this pull request may close these issues.

2 participants