Skip to content

Commit

Permalink
Auto merge of #125070 - tbu-:pr_set_extension_panic, r=jhpratt
Browse files Browse the repository at this point in the history
Panic if `PathBuf::set_extension` would add a path separator

This is likely never intended and potentially a security vulnerability if it happens.

I'd guess that it's mostly literal strings that are passed to this function in practice, so I'm guessing this doesn't break anyone.

CC #125060
  • Loading branch information
bors committed May 26, 2024
2 parents 0e7f57f + 66a2bba commit 0d17fb9
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0d17fb9

Please sign in to comment.