Fix problem with r362192
authorRichard Trieu <rtrieu@google.com>
Fri, 31 May 2019 05:55:07 +0000 (05:55 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 31 May 2019 05:55:07 +0000 (05:55 +0000)
commit30935ef0bcdc7703eb2199e3fc5095198497e889
tree705c71762971274175feb394605889d9c1162b4e
parent23066033a1b70b5981ea86207cd87e9106b31771
Fix problem with r362192

The string returned only sometimes ends in NULL.  Explicitly check for the NULL
and pop off the NULL if it is there.

llvm-svn: 362194
lldb/source/Host/posix/DomainSocket.cpp