[all-commits] [llvm/llvm-project] c65fb0: [compiler-rt] Fix endianness in get_sock_peer_name...
Michał Górny via All-commits
all-commits at lists.llvm.org
Thu Feb 10 11:16:27 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c65fb0cdf26296ae83d23260337d1231d0249020
https://github.com/llvm/llvm-project/commit/c65fb0cdf26296ae83d23260337d1231d0249020
Author: Michał Górny <mgorny at moritz.systems>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/Linux/get_sock_peer_name.cpp
Log Message:
-----------
[compiler-rt] Fix endianness in get_sock_peer_name test
Fix passing the port and IP address with the wrong endianness
in get_sock_peer_name() that causes the connect() to fail inside
without an outgoing network interface (it's trying to connect
to 1.0.0.127 instead of 127.0.0.1).
Differential Revision: https://reviews.llvm.org/D119461
More information about the All-commits
mailing list