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

Add check for the optional member app, fix #3084 #3095

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

jozsefd
Copy link
Contributor

@jozsefd jozsefd commented Apr 2, 2024

Fixes #3084 : If the card is using a PKCS15 Emulator where the optional pointer to the sc_app_info in the sc_pkcs15_card structure is not set then the minidriver crashes.

In this PR, the checking of pointer p15card->app was added to minidriver.c

Checklist
  • Windows minidriver is tested

@Jakuje Jakuje merged commit 6a98d4a into OpenSC:master Apr 4, 2024
43 of 44 checks passed
@Jakuje
Copy link
Member

Jakuje commented Apr 4, 2024

Thank you!

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.

Minidriver crash if p15card->app is not set
3 participants