diff options
| author | Frederic Riss <friss@apple.com> | 2018-03-29 03:49:41 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2018-03-29 03:49:41 +0000 |
| commit | fa37026db3169f68cd62023af5cc871dcb7225fc (patch) | |
| tree | 521433187ec0aae151e8a554d5241ce5e362bc37 /llvm/lib/Linker/LinkModules.cpp | |
| parent | 02eb974af5c727f7dbf4883f1733f84c85c423f3 (diff) | |
| download | bcm5719-llvm-fa37026db3169f68cd62023af5cc871dcb7225fc.tar.gz bcm5719-llvm-fa37026db3169f68cd62023af5cc871dcb7225fc.zip | |
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
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
0 files changed, 0 insertions, 0 deletions

