Commit d3938b6
committed
Disable clangd on untrusted workspaces
Per
https://llvm.org/docs/Security.html#what-is-considered-a-security-issue,
parsing untrusted code through clang can result in harmful behavior.
Also it isn't considered as a security-sensitive component, hence its on
embedders like vscode-clangd to ensure users are aware of such risks.
Hence this patch disables running clangd on untrusted workspaces.1 parent 1675875 commit d3938b6
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 76 | + | |
| 77 | + | |
83 | 78 | | |
84 | 79 | | |
85 | 80 | | |
| |||
0 commit comments