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

πŸ› Protect string generators against poisoning #3152

Merged
merged 2 commits into from
Sep 6, 2022
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Sep 6, 2022

The risk of being impacted by a poisoning was pretty low as it could only happen for strings when we try to generate an exact value coming from a dicitionary of known dangerous values. While rare, it can still happen and drive developpers crazy if the crash occur in fast-check while the real issue comes from their own code.

Category:

  • ✨ Introduce new features
  • πŸ“ Add or update documentation
  • βœ… Add or update tests
  • πŸ› Fix a bug
  • 🏷️ Add or update types
  • ⚑️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

The risk of being impacted by a poisoning was pretty low as it could only happen for strings when we try to generate an exact value coming from a dicitionary of known dangerous values. While rare, it can still happen and drive developpers crazy if the crash occur in fast-check while the real issue comes from their own code.
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 6, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 954c74d:

Sandbox Source
Vanilla Configuration
@fast-check/examples Configuration

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

1 participant