diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-26 09:07:22 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-26 13:42:04 +0530 |
| commit | d36cb2209f1b22b8b587ad128fb094156092aad8 (patch) | |
| tree | ebf943517d37e1ff58ced6ba3e0c6dde224e3a97 /src/rustllvm/RustWrapper.cpp | |
| parent | e3e58247a3fbcd861c172a7311923116b1125ffd (diff) | |
| parent | 78495d5082f51a2737619824548c9f2407b12a2b (diff) | |
| download | rust-d36cb2209f1b22b8b587ad128fb094156092aad8.tar.gz rust-d36cb2209f1b22b8b587ad128fb094156092aad8.zip | |
Rollup merge of #32476 - diwic:63-null-thread-name, r=alexcrichton
Fix unsound behaviour with null characters in thread names (issue #32475) Previously, the thread name (&str) was converted to a CString in the new thread, but outside unwind::try, causing a panic to continue into FFI. This patch changes that behaviour, so that the panic instead happens in the parent thread (where panic infrastructure is properly set up), not the new thread. This could potentially be a breaking change for architectures who don't support thread names.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
