about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2024-05-13 14:22:45 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2024-05-13 15:08:34 +0200
commit700b3ea61ba2a37876af0a5d2d2f991aba5c7000 (patch)
treeee79b635ad1f492c544c66ddd78a5404a23e749e /compiler/rustc_mir_transform/src/coverage/graph.rs
parent6be7b0c7d2b085474f9f2f9323c2266f4df105d8 (diff)
downloadrust-700b3ea61ba2a37876af0a5d2d2f991aba5c7000.tar.gz
rust-700b3ea61ba2a37876af0a5d2d2f991aba5c7000.zip
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/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions