[all-commits] [llvm/llvm-project] fccc86: [orc-rt] SimpleRemoteCAOverSocket: require a strea...

Lang Hames via All-commits all-commits at lists.llvm.org
Sat Sep 26 04:23:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fccc8632f21fa8a13f7962932b614e8c1079d9ac
      https://github.com/llvm/llvm-project/commit/fccc8632f21fa8a13f7962932b614e8c1079d9ac
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M orc-rt/include/orc-rt/bedrock/sps/SimpleRemoteCAOverSocket.h
    M orc-rt/lib/bedrock/sys/posix/sps/SimpleRemoteCAOverSocket.cpp
    M orc-rt/test/unit/bedrock/sps/SimpleRemoteCAOverSocketTest.cpp

  Log Message:
  -----------
  [orc-rt] SimpleRemoteCAOverSocket: require a stream socket. (#226676)

SimpleRemote framing reads each message in as many parts as the socket
delivers it, which a socket that preserves message boundaries (datagram,
seqpacket) would truncate. Check SO_TYPE up front and reject anything
but SOCK_STREAM; the socket is owned by then, so it is closed on
failure.

Assisted-by: Claude



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list