diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2019-06-28 07:44:09 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-07-02 07:59:26 +0200 |
commit | e8c974043c1648eab0ad67a7ba6a3e444fe79d2d (patch) | |
tree | f3225ab6ddb116f732cb46571197e52c2f54f21c /ssh-add.c | |
parent | upstream: oops, from asou (diff) | |
download | openssh-e8c974043c1648eab0ad67a7ba6a3e444fe79d2d.tar.xz openssh-e8c974043c1648eab0ad67a7ba6a3e444fe79d2d.zip |
upstream: asprintf returns -1, not an arbitrary value < 0. Also
upon error the (very sloppy specification) leaves an undefined value in *ret,
so it is wrong to inspect it, the error condition is enough. discussed a
little with nicm, and then much more with millert until we were exasperated
OpenBSD-Commit-ID: 29258fa51edf8115d244b9d4b84028487bf8923e
Diffstat (limited to 'ssh-add.c')
0 files changed, 0 insertions, 0 deletions