[Lldb-commits] [PATCH] Fix FileSpec::GetPath to return null-terminated strings

Ilia K ki.stfu at gmail.com
Thu Feb 26 07:32:38 PST 2015


Use snprintf instead of strncpy


http://reviews.llvm.org/D7553

Files:
  source/API/SBFileSpec.cpp
  source/Host/common/FileSpec.cpp
  source/Host/common/SocketAddress.cpp
  source/Host/macosx/HostInfoMacOSX.mm
  source/Host/posix/HostInfoPosix.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
  source/lldb.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7553.20763.patch
Type: text/x-patch
Size: 7095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150226/1ad0b6cf/attachment.bin>


More information about the lldb-commits mailing list