]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10213 : telotortium/rust/rand-fill_bytes-stack-overflow, r=huonw
authorbors <bors@rust-lang.org>
Fri, 1 Nov 2013 12:21:24 +0000 (05:21 -0700)
committerbors <bors@rust-lang.org>
Fri, 1 Nov 2013 12:21:24 +0000 (05:21 -0700)
Fix the implementation of `std::rand::Rng::fill_bytes()` for
`std::rand::reseeding::ReseedingRng` to call the `fill_bytes()` method
of the underlying RNG rather than itself, which causes infinite
recursion.

Fixes #10202.


Trivial merge