diff options
author | Tim Northover <tnorthover@apple.com> | 2015-11-09 22:05:05 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2015-11-09 22:05:05 +0000 |
commit | 974ff61c57322b6d419a3205a43e42b72671a080 (patch) | |
tree | 461c8799228ac7ac1d4e24bf9f6cc1234eaf84fc /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 5b0ae794b6f039d69dc3e385442d8f058de6a278 (diff) | |
download | bcm5719-llvm-974ff61c57322b6d419a3205a43e42b72671a080.tar.gz bcm5719-llvm-974ff61c57322b6d419a3205a43e42b72671a080.zip |
Avoid sending bare '*' and '}' in an lldb-server packet
They get treated as special RLE encoding symbols and packets get
corrupted. Most other packet types already know about this apparently,
but QEnvironment missed these two.
Should fix PR25300.
llvm-svn: 252521
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 4998afcb6ac..7b193f0bffb 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -1584,6 +1584,7 @@ GDBRemoteCommunicationClient::SendEnvironmentPacket (char const *name_equal_valu case '$': case '#': case '*': + case '}': send_hex_encoding = true; break; default: |