-
Notifications
You must be signed in to change notification settings - Fork 955
rustup toolchain link
with special characters in the toolchain name causes panics
#3517
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
Labels
Comments
@majaha Thanks a lot for filing this issue! Would you mind reproducing it again with |
Yeah, no problem:
|
@majaha Thanks! The cause of this issue is the following hack: Lines 311 to 343 in b5d74ac
I'll claim this and fix it soon. Stay tuned! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found that using special characters in the
rustup toolchain link
command can cause panics:I also got similar results with
"foo#bar"
I'd assume the problem is that
rustup toolchain link
needs to sanitise it's input more thoroughly.This was tested on
rustup 1.26.0 (5af9b9484 2023-04-05)
The text was updated successfully, but these errors were encountered: