llvm-project/lldb/tools/debugserver
Frederic Riss fa37026db3 Prevent double release of mach ports
Summary:
When a MIG routine returns KERN_FAILURE, the demux function will release any OOL resources like ports. In this case, task_port and thread_port will be released twice, potentially resulting in use after free of the ports.

I don't think we can test this in any useful way
rdar://problem/37331387

Reviewers: jasonmolenda

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D45011

llvm-svn: 328761
2018-03-29 03:49:41 +00:00
..
debugserver.xcodeproj Rename remotectl_com.apple.internal.xpc.remote.debugserver.plist 2018-03-19 23:07:31 +00:00
resources
scripts Remove DNBConfig.h 2015-08-13 00:32:01 +00:00
source Prevent double release of mach ports 2018-03-29 03:49:41 +00:00
CMakeLists.txt [CMake] Refactor debugserver build system 2017-07-18 21:15:27 +00:00
debugnub-exports