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
- Branch
- device1
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10609 Build 13017: Run Core Tests Build 13016: arc lint + arc unit