Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fuzzing #187

Merged
merged 1 commit into from
Jul 19, 2018
Merged

Fuzzing #187

merged 1 commit into from
Jul 19, 2018

Conversation

newpavlov
Copy link
Contributor

@newpavlov newpavlov commented Jul 19, 2018

Fuzzing with cargo fuzz. Closes #184.

To launch fuzzer use cargo fuzz run message_parser (you also can use -j option to increase number of workers). Currently it always passes 4 RawFds and 16 Arguments, but I think it should be sufficient for testing.

It immediately found panic at split_at due to the insufficient length check. I will leave fuzzer for several hours, but looks like no other panics should happen.

@coveralls
Copy link

coveralls commented Jul 19, 2018

Coverage Status

Coverage remained the same at 53.425% when pulling 17b6853 on newpavlov:fuzz into 75fd842 on Smithay:master.

@elinorbgr
Copy link
Member

Wow, thanks!

@elinorbgr elinorbgr merged commit dcc8967 into Smithay:master Jul 19, 2018
@newpavlov newpavlov deleted the fuzz branch June 23, 2019 13:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants