swift
15cf72be
- [sourcekit] Fix use-after-free of block inside libsourcekitdInProc sync_request
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
9 years ago
[sourcekit] Fix use-after-free of block inside libsourcekitdInProc sync_request In sourcekitdInProc, we were doing a by-ref capture of a block that didn't live as long as the asyncronous callback. Fix it by capturing by-copy. Found by ASan!
Author
benlangmuir
Committer
benlangmuir
Parents
32db8f7d
Loading