Commit 020f2b5
committed
[Completion] ~ExpectedTypeContext must be called after ~CCResultBuilder
There's a subtle stack UAF here - `~CodeCompletionResultBuilder` would
be called *after* `~ExpectedTypeContext` as `ExpectedTypeContext` was
defined after `CodeCompletionResultBuilder`. Fix the order they're
created to prevent this.1 parent 2b6b3fd commit 020f2b5
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
899 | 906 | | |
900 | 907 | | |
901 | 908 | | |
902 | 909 | | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
| 910 | + | |
| 911 | + | |
907 | 912 | | |
908 | 913 | | |
909 | 914 | | |
| |||
0 commit comments