Add a couple of non-negativity checks to avoid close(-1).
authortb <tb@openbsd.org>
Mon, 5 Feb 2018 05:37:46 +0000 (05:37 +0000)
committertb <tb@openbsd.org>
Mon, 5 Feb 2018 05:37:46 +0000 (05:37 +0000)
commit56e58ef716f7193a4bf2dcbd768fe850d9418e13
tree7605eda3a76095d3f71148d6b47a8e7e2344468c
parentb96bd0d40efe26426294a135b7e9b66531f4f67a
Add a couple of non-negativity checks to avoid close(-1).

ok djm
usr.bin/ssh/monitor.c
usr.bin/ssh/ssh-pkcs11-client.c