[all-commits] [llvm/llvm-project] aa4977: [LLDB][NFC] Reliability fixes to TCPSocket code

fixathon via All-commits all-commits at lists.llvm.org
Sat Aug 6 23:07:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa4977f2e1354bb5e1937235dd12199839ab0801
      https://github.com/llvm/llvm-project/commit/aa4977f2e1354bb5e1937235dd12199839ab0801
  Author: Slava Gurevich <sgurevich at gmail.com>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M lldb/source/Host/common/TCPSocket.cpp

  Log Message:
  -----------
  [LLDB][NFC] Reliability fixes to TCPSocket code

Patch the following issues found by static code inspection:
- Unchecked return values from lib calls
- Passing potentially negative arg into a function that requires non-negative input
- Possible socket double-close

Differential Revision: https://reviews.llvm.org/D131294




More information about the All-commits mailing list