Commit 3fc5d51
(#9400 P1b) cli: utils-cli: replace eval with declare -g
eval "declare -g $name=\"$value\"" is equivalent to the safer
declare -g "${name}=${value}" which avoids code injection risk.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent efb4c68 commit 3fc5d51
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments