about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-26 04:14:32 +0000
committerbors <bors@rust-lang.org>2024-05-26 04:14:32 +0000
commitbd184cc3e1ee16c1d74444fa246dcfbade9a31d5 (patch)
tree364e2ec0b4064a1da01f6f14460bacae93272b34 /compiler/rustc_mir_transform/src
parent75e2c5dcd0ddce0fe0eb3d4a2195cd51073c729b (diff)
parent700b3ea61ba2a37876af0a5d2d2f991aba5c7000 (diff)
downloadrust-bd184cc3e1ee16c1d74444fa246dcfbade9a31d5.tar.gz
rust-bd184cc3e1ee16c1d74444fa246dcfbade9a31d5.zip
Auto merge of #125070 - tbu-:pr_set_extension_panic, r=jhpratt
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
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions