rust/library/std/src/io
Guillaume Gomez 5db58538cf
Rollup merge of #119991 - kornelski:endless-read, r=the8472
Reject infinitely-sized reads from io::Repeat

These calls would always run out of memory.

Related to #117925
2024-01-30 11:19:12 +01:00
..
buffered Handle out of memory errors in io:Read::read_to_end() 2024-01-29 23:53:09 +00:00
copy unify read_to_end and io::copy impls for reading into a Vec 2023-11-26 18:13:36 +01:00
cursor attempt to optimise vectored write 2022-06-26 17:15:31 +01:00
error Update std::io::Error::downcast return type 2024-01-19 09:26:56 +11:00
impls std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
stdio Make default stdio lock() return 'static handles 2022-02-13 10:23:16 -05:00
util Rollup merge of #98154 - vidhanio:master, r=workingjubilee 2023-07-30 20:36:33 +02:00
copy.rs unify read_to_end and io::copy impls for reading into a Vec 2023-11-26 18:13:36 +01:00
cursor.rs Rollup merge of #98651 - mattfbacon:master, r=ChrisDenton 2023-03-27 08:46:51 +02:00
error.rs Update std::io::Error::downcast return type 2024-01-19 09:26:56 +11:00
impls.rs Handle out of memory errors in io:Read::read_to_end() 2024-01-29 23:53:09 +00:00
mod.rs Handle out of memory errors in io:Read::read_to_end() 2024-01-29 23:53:09 +00:00
prelude.rs Use heading for std::prelude and not io::prelude 2021-01-05 17:52:24 -08:00
stdio.rs specialize Bytes on StdinLock<'_> by using the underlying BufReader 2024-01-17 10:47:33 +01:00
tests.rs Auto merge of #98943 - WilliamVenner:feat/bufread_skip_until, r=dtolnay 2023-11-23 22:28:14 +00:00
util.rs Reject infinitely-sized reads from io::Repeat 2024-01-27 18:52:41 +00:00