rust/library/std/src/net
Yuki Okushi 09de34c107
Rollup merge of #86984 - Smittyvb:ipv4-octal-zero, r=m-ou-se
Reject octal zeros in IPv4 addresses

This fixes #86964 by rejecting octal zeros in IP addresses, such that `192.168.00.00000000` is rejected with a parse error, since having leading zeros in front of another zero indicates it is a zero written in octal notation, which is not allowed in the strict mode specified by RFC 6943 3.1.1. Octal rejection was implemented in #83652, but due to the way it was implemented octal zeros were still allowed.
2021-10-21 14:11:01 +09:00
..
addr Remove redundant 'static from library crates 2020-10-18 17:25:51 +02:00
ip Rollup merge of #86984 - Smittyvb:ipv4-octal-zero, r=m-ou-se 2021-10-21 14:11:01 +09:00
parser Disallow octal format in Ipv4 string 2021-03-30 10:24:23 +08:00
tcp add TcpStream::set_linger and TcpStream::linger 2021-08-30 13:42:52 -04:00
udp I/O safety. 2021-08-19 12:02:39 -07:00
addr.rs Add #[must_use] to is_condition tests 2021-10-11 21:15:57 -04:00
ip.rs Rollup merge of #86984 - Smittyvb:ipv4-octal-zero, r=m-ou-se 2021-10-21 14:11:01 +09:00
mod.rs Apply 16 commits (squashed) 2021-09-25 20:04:35 +02:00
parser.rs Specify maximum IP address length 2021-08-10 16:43:17 -04:00
tcp.rs Add #[must_use] to conversions that move self 2021-10-10 19:50:52 -04:00
test.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
udp.rs Remove unnecessary mut from udp doctests 2021-08-30 22:31:34 -06:00