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

Gardena/lw/fuzzing #720

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

LukasWoodtli
Copy link
Contributor

Idea how fuzzing tests could be added to the project.
Open for discussion.

Inspired by work from @rettichschnidi

Out of scope: CI

@LukasWoodtli LukasWoodtli force-pushed the gardena/lw/fuzzing branch 6 times, most recently from da1b7c9 to fc8585a Compare August 15, 2023 13:38
A CMake function was added that handles the importand
details for a fuzzing test.
A basic fuzz test for parsing a CoAP message with
random content.
Registration message fuzzig test with random input.
If an ID exeeds the max. possible value we return early with an error
instead of continuing and checking for too big values at the end.
In some cases the code tried to read past the registration payload.
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