diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-24 14:50:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-24 14:50:48 -0700 |
| commit | 5ed8733ea39927d267f4e99c16d3fdca671d8315 (patch) | |
| tree | 444ac7380c9dedd55d47a880a2b32284de3f6e17 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 020efc78f106d507cef9ec0605efba0a82ec692d (diff) | |
| parent | 4ccf374b4a2ef24862d365783b70217bbfbf3bc7 (diff) | |
| download | rust-5ed8733ea39927d267f4e99c16d3fdca671d8315.tar.gz rust-5ed8733ea39927d267f4e99c16d3fdca671d8315.zip | |
rollup merge of #23668: alexcrichton/io-zero
This commit alters the behavior of the `Read::read_to_end()` method to zero all memory instead of passing an uninitialized buffer to `read`. This change is motivated by the [discussion on the internals forum][discuss] where the conclusion has been that the standard library will not expose uninitialized memory. [discuss]: http://internals.rust-lang.org/t/uninitialized-memory/1652 Closes #20314
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
