Commit 01b3b22
Quote syslog tags to prevent shell injection in journalctl hint
Use shlex.quote() on generated tags in format_journalctl_hint to
prevent potential shell injection if instance identifiers contain
shell metacharacters.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0a484d7 commit 01b3b22
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments