[Lldb-commits] [PATCH] D61218: Fix a stack-smasher in PlatformMacOSX::GetSDKDirectory()
Phabricator via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 29 10:26:40 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL359471: Fix a stack-smasher in PlatformMacOSX::GetSDKDirectory() (authored by adrian, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D61218?vs=196931&id=197138#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61218/new/
https://reviews.llvm.org/D61218
Files:
lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
Index: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
===================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
@@ -164,7 +164,7 @@
std::string default_xcode_sdk;
FileSpec fspec;
uint32_t versions[2];
- if (objfile->GetSDKVersion(versions, sizeof(versions))) {
+ if (objfile->GetSDKVersion(versions, 2)) {
fspec = HostInfo::GetShlibDir();
if (fspec) {
std::string path;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61218.197138.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190429/1ebb17eb/attachment.bin>
More information about the lldb-commits
mailing list