rust/library/std/src/path
Tobias Bucher 700b3ea61b 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
2024-05-13 15:08:34 +02:00
..
tests.rs Panic if PathBuf::set_extension would add a path separator 2024-05-13 15:08:34 +02:00