about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-11 22:38:55 +0200
committerGitHub <noreply@github.com>2024-04-11 22:38:55 +0200
commitf361026ebd16282c4ecc26072c1d4ba728d9ce46 (patch)
tree2ffaca9b2b9bc76651e2ab1c5d380d1a90860b1f /compiler/rustc_codegen_llvm/src/errors.rs
parent0ab8cc19312c21b5d4c504967fb3a88185fdfaef (diff)
parente1972c0061b3867c6d5a70a2c10f5126543f5cb1 (diff)
downloadrust-f361026ebd16282c4ecc26072c1d4ba728d9ce46.tar.gz
rust-f361026ebd16282c4ecc26072c1d4ba728d9ce46.zip
Rollup merge of #123798 - tniessen:patch-1, r=workingjubilee
Avoid invalid socket address in length calculation

This has no effect on the lengths of these constants, but since the IP address portion of the socket addresses was intentionally chosen to be the largest valid value, it seems appropriate to also use the largest valid value for the other components (as opposed to invalid values exceeding the possible ranges).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions