summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-03-21 05:41:13 +0000
committerbors <bors@rust-lang.org>2019-03-21 05:41:13 +0000
commit15a5dfa0b4438d199e8703fd578f59a5049527be (patch)
tree51e15ceab136bccaf4555d033d83b3d517c39837 /src/libstd/sys/unix/stack_overflow.rs
parent20958fc81f5be100fba90db91539d58fa89c948e (diff)
parentc36d91c5cc446a4688186be1071e0e139ba9d38f (diff)
downloadrust-15a5dfa0b4438d199e8703fd578f59a5049527be.tar.gz
rust-15a5dfa0b4438d199e8703fd578f59a5049527be.zip
Auto merge of #58913 - Milack27:patch_buf_reader, r=joshtriplett
Add new test case for possible bug in BufReader

When reading a large chunk from a BufReader, if all the bytes from the buffer have been already consumed, the internal buffer is bypassed entirely. However, it is not invalidated, and it's possible to access its contents using the `seek_relative` method, because it tries to reuse the existing buffer.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions