diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-09-28 15:47:38 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-09-28 15:47:38 +0000 |
commit | 77c87c05106612bc6f55a247f9601765f0af80aa (patch) | |
tree | f05b92541b3d1895648cfe75291919ba20a1042c /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 30eff98e7e04e333618195ac2eec153f7591a471 (diff) | |
download | bcm5719-llvm-77c87c05106612bc6f55a247f9601765f0af80aa.tar.gz bcm5719-llvm-77c87c05106612bc6f55a247f9601765f0af80aa.zip |
If setgid fails for any reason, exit lldb.
scan-build was complaining about:
The return value from the call to 'setgid' is not checked. If an error occurs in 'setgid', the following code may execute with unexpected privileges
llvm-svn: 191618
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions