Commit 9a4b2d4
committed
fix: remove duplicate permissions block and strengthen loop bound
- Remove duplicate `permissions` block in ci.yml (was added by both
Copilot autofix and previous commit)
- Strengthen telemetry loop bound: add Array.isArray guard and use
Math.min() with explicit numeric cap instead of .slice().length
to satisfy CodeQL taint analysis for loop-bound-injection rule
https://claude.ai/code/session_012Y448H3mNA8HJsDRJtXvEC1 parent a2d2ce6 commit 9a4b2d4
File tree
2 files changed
+6
-6
lines changed- .github/workflows
- packages/backend/src/telemetry
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
0 commit comments