diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-01-24 22:49:32 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-01-24 22:49:32 +0000 |
commit | ffa674e6d732e82967449e450dfd0c85478379d9 (patch) | |
tree | 86b58153fac0ec31ac092215c10efb3407579599 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | cd3b9f763edba8362b37f6e4c5bd9bb0e6ee5306 (diff) | |
download | bcm5719-llvm-ffa674e6d732e82967449e450dfd0c85478379d9.tar.gz bcm5719-llvm-ffa674e6d732e82967449e450dfd0c85478379d9.zip |
Terminate an unused char* buffer correctly so we don't try to open
it later in GDBRemoteCommunication::StartDebugserverProcess and report
an error.
<rdar://problem/15820813>
llvm-svn: 200047
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index f27b2cee5b5..a377a639ef5 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -711,6 +711,7 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *hostname, } else { + named_pipe_path[0] = '\0'; listen = true; } } |