fix: reject reparse-point shell paths
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user