Skip to content

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
@LukasWoodtli LukasWoodtli force-pushed the gardena/lw/fuzzing branch 3 times, most recently from bbda685 to 5e03d70 Compare November 11, 2025 08:00
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.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
10.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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