gerrit/gerrit-sshd
Ardo Septama dfa74b835f Protect against null pointer for BaseCommand
Subclasses of BaseCommand may not initialize argv field (e.g.
ScpCommand).
Recent change [1] uses argv field which may result in NPE.

This change will guard the code from such error.

[1]: https://gerrit-review.googlesource.com/c/gerrit/+/146191

Change-Id: I6dd3afa08fd696d25741b5bdec8530deac422261
Signed-off-by: Ardo Septama <aseptama@gmail.com>
2018-01-29 15:16:16 +01:00
..
src Protect against null pointer for BaseCommand 2018-01-29 15:16:16 +01:00
BUILD Don't ship bouncycastle libraries in plugin API 2017-04-07 07:38:04 +02:00