Home GnuPG

Fix method call on possible null
3f920d890474Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix method call on possible null

Summary: Fixes T10317. If we failed to load $device, it will be null, so we won't be able to call getName() on it.

Test Plan: SSH_CLIENT='127.0.0.1' ./bin/ssh-exec --phabricator-ssh-device xyz no longer fatals

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10317

Differential Revision: https://secure.phabricator.com/D15235

Details

Provenance
epriestley <git@epriestley.com>Authored on Feb 10 2016, 9:34 PM
Parents
rPHAB7bca452fad1b: Fix two issues with unusual milestone workboard initialization orders
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB3f920d890474: Fix method call on possible null (authored by epriestley <git@epriestley.com>).Feb 10 2016, 9:44 PM