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

stream: Allow fuzzing for Unknown Data (ErrorCode and FrameType) #719

Merged
merged 8 commits into from
May 6, 2021

Conversation

whalelephant
Copy link
Contributor

cc: #705

This PR addresses:

  • ensures no inner trailing bytes in frame data
  • adds roundtrip-only feature for fuzzing in the case of saturated value replacement
  • stores and return Unknown ErrorCode and FrameTypes

@koivunej
Copy link
Collaborator

koivunej commented May 5, 2021

Could you add a similar test run for the roundtrip-only below this: https://github.com/interledger-rs/interledger-rs/blob/f054cad6beb12c5d4bf83c5456fbfb2e28c61f65/.github/workflows/ci.yml#L70

Copy link
Collaborator

@koivunej koivunej left a comment

Choose a reason for hiding this comment

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

I think this is very much looking good to go with the few suggestions I added, and the workflow additions.

whalelephant and others added 8 commits May 6, 2021 14:54
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
Signed-off-by: bwty <whalelephant@users.noreply.github.com>
@koivunej koivunej changed the title Allow fuzzing for Unknown Data (ErrorCode and FrameType) stream: Allow fuzzing for Unknown Data (ErrorCode and FrameType) May 6, 2021
@koivunej
Copy link
Collaborator

koivunej commented May 6, 2021

Going ahead of merge slightly ahead of 24h as this only changes the feature = "strict" and adds the feature = "roundtrip-only" functionality.

@koivunej koivunej merged commit 2edc013 into interledger:master May 6, 2021
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.

2 participants