diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2016-09-04 18:37:30 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2016-09-07 22:17:58 +0300 |
| commit | 04b776e5eca7aa49618a1425f08c8825e51b19dc (patch) | |
| tree | 7976b9a8c387b3c496a53413896ec48e612a63fd /src/test/incremental/thinlto | |
| parent | 1d04201565790e17890f300c2bedeab6b895c313 (diff) | |
| download | rust-04b776e5eca7aa49618a1425f08c8825e51b19dc.tar.gz rust-04b776e5eca7aa49618a1425f08c8825e51b19dc.zip | |
Zero first byte of CString on drop
This should prevent code like
```
let ptr = CString::new("hello").unwrap().as_ptr();
```
from working by accident.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
