about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-10-21 14:11:01 +0900
committerGitHub <noreply@github.com>2021-10-21 14:11:01 +0900
commit09de34c10760d31e0781cb506b5b41c649b53e69 (patch)
treed12ccdd84741ef6a768f04529f1144915d571b04 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent4626184cafa827e13cc7a71b183a704ee0ec5930 (diff)
parent403d269f20c9b1d71efccf1e95ef76470dd7ebe5 (diff)
downloadrust-09de34c10760d31e0781cb506b5b41c649b53e69.tar.gz
rust-09de34c10760d31e0781cb506b5b41c649b53e69.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions