about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-24 14:50:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-24 14:50:48 -0700
commit5ed8733ea39927d267f4e99c16d3fdca671d8315 (patch)
tree444ac7380c9dedd55d47a880a2b32284de3f6e17 /src/libstd/sys/unix/stack_overflow.rs
parent020efc78f106d507cef9ec0605efba0a82ec692d (diff)
parent4ccf374b4a2ef24862d365783b70217bbfbf3bc7 (diff)
downloadrust-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