fix: reject reparse-point shell paths

This commit is contained in:
cabbage committed 2026-09-06 14:06:08 +00:00
1 parent 09e8a9df9e
commit f5794e0017
1 file changed
+1 -1
@@ -257,7 +257,7 @@ func osProcess(pid uint32) *os.Process {
}
func verifyExecutable(path string) error {
info, err := os.Stat(path)
info, err := os.Lstat(path)
if err != nil {
return fmt.Errorf("stat configured shell %q: %w", path, err)
}