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

security note for deriving Deserialize on types with invariants #74

Open
birkenfeld opened this issue May 28, 2018 · 0 comments
Open

security note for deriving Deserialize on types with invariants #74

birkenfeld opened this issue May 28, 2018 · 0 comments

Comments

@birkenfeld
Copy link

When deriving Deserialize, it should be ensured that invariants of the types cannot be violated by deserializing untrusted data. This is especially important if the invariants are trusted by unsafe code.
I checked but couldn't find such a note in the docs currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant