[Lldb-commits] [PATCH] Add Socket::Get[Remote/Local]IpAddress and unit tests

Vince Harron vharron at google.com
Thu Jan 15 14:45:08 PST 2015


Replace strtoul with ConvertString::ToUInt32

Socket::DecodeHostAndPort was accepting negative port numbers and numbers > 65535, fixed


http://reviews.llvm.org/D6917

Files:
  gtest/gtest.xcodeproj/project.pbxproj
  gtest/unittest/Host/
  gtest/unittest/Host/Makefile
  gtest/unittest/Host/SocketAddressTest.cpp
  gtest/unittest/Host/SocketTest.cpp
  gtest/unittest/Host/SocketTestMock.cpp
  include/lldb/Host/Socket.h
  include/lldb/Host/SocketAddress.h
  source/Host/common/Socket.cpp
  source/Host/common/SocketAddress.cpp
  source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6917.18264.patch
Type: text/x-patch
Size: 23998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150115/2a03abf8/attachment.bin>


More information about the lldb-commits mailing list