Fixes T10317. If we failed to load $device, it will be null, so we won't be able to call getName() on it.
Details
Details
- Reviewers
chad - Maniphest Tasks
- T10317: ssh-exec.php: possible null pointer dereference
- Commits
- Restricted Diffusion Commit
rP3f920d890474: Fix method call on possible null
SSH_CLIENT='127.0.0.1' ./bin/ssh-exec --phabricator-ssh-device xyz no longer fatals
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable