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 a Minimal Fuzzing test #1580

Merged
merged 11 commits into from
Jan 30, 2019
Merged

Add a Minimal Fuzzing test #1580

merged 11 commits into from
Jan 30, 2019

Conversation

frankmorgner
Copy link
Member

This PR adds a small script to fuzz OpenSC with arbitrary PC/SC commands. See https://www.x41-dsec.de/lab/blog/smartcards/ for a summary.

I hope to activate fuzzing for CI soon, see google/oss-fuzz#2084.

@Jakuje
Copy link
Member

Jakuje commented Jan 15, 2019

This looks great. I had exactly this on my mind after releasing the fixes, but did not manage to get a time to figure out how to plug the the project into the oss-fuzz. I believe this will be useful. Thanks!

@frankmorgner
Copy link
Member Author

I still need to figure out how to run some tests in OSS-Fuzz, but the at least the project is already accepted...

Note that the script in this PR is a standalone test without the need of Google's infrastructure.

@frankmorgner
Copy link
Member Author

I think the findings and fixes are now stabilized and ready to be merged.

Copy link
Member

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@frankmorgner frankmorgner merged commit 7a7ff50 into OpenSC:master Jan 30, 2019
@frankmorgner frankmorgner deleted the fuzzing branch June 21, 2021 12:09
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.

None yet

2 participants