Skip to content

Make sure rustup.sh is safe from truncation errors #19168

Closed
@erickt

Description

@erickt

Someone on hacker news pointed out that bad things could potentially happen if the running of curl https://static.rust-lang.org/rust.sh | sh gets truncated on a bad line. We should audit the code to make sure that can't happen. Maybe we could write the actual rustup.sh and verify it with a checksum before we execute it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions