We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698409a commit f26c931Copy full SHA for f26c931
src/symbolize/gimli/libs_windows.rs
@@ -94,6 +94,8 @@ unsafe fn get_posix_path(long_path: &[u16]) -> Option<OsString> {
94
if res != 0 {
95
return None;
96
}
97
+ // Remove the null terminator.
98
+ unsafe { name_buffer.set_len(name_len - 1) };
99
let name = OsString::from_vec(name_buffer);
100
Some(name)
101
0 commit comments