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

prevent creation of invalid chars in safe code #7609

Closed
thestinger opened this issue Jul 6, 2013 · 2 comments
Closed

prevent creation of invalid chars in safe code #7609

thestinger opened this issue Jul 6, 2013 · 2 comments

Comments

@thestinger
Copy link
Contributor

An incomplete list of holes:

  • the as conversion from integers larger than 21 bits needs to be removed
  • surrogate characters need to be blacklisted
@thestinger
Copy link
Contributor Author

Nominating for the backwards compatible milestone.

@catamorphism
Copy link
Contributor

Visiting for bug triage. We'll get here!

bors added a commit that referenced this issue Sep 4, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Sep 28, 2021
Allow giving reasons for `disallowed_methods`

Fixes rust-lang#7609.

This permits writing the config for `disallowed-methods` as either a list of strings (like before) or a list of tables, where each table gives the path to the disallowed method and an optional reason for why the method is disallowed.

changelog: Allow giving reasons for [`disallowed_methods`]
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 21, 2021
…type, r=giraffate

Allow giving reasons for `disallowed_types`

Similar to rust-lang#7609 but for the `disallowed_type` lint. The permitted form of configuration is the same as for `disallowed_methods`.

changelog: Allow giving reasons for [`disallowed_type`]
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 a pull request may close this issue.

2 participants