[openssh-commits] [openssh] branch master updated (1b2d55d1 -> 4d28fa78)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jul 5 11:10:47 AEST 2019


This is an automated email from the git hooks/post-receive script.

djm pushed a change to branch master
in repository openssh.

      from  1b2d55d1  upstream: oops, from asou
       new  e8c97404  upstream: asprintf returns -1, not an arbitrary value < 0. Also
       new  4d28fa78  upstream: When system calls indicate an error they return -1, not

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit 4d28fa78abce2890e136281950633fae2066cc29
Author: deraadt at openbsd.org <deraadt at openbsd.org>
Date:   Fri Jun 28 13:35:04 2019 +0000

    upstream: When system calls indicate an error they return -1, not
    
    some arbitrary value < 0.  errno is only updated in this case.  Change all
    (most?) callers of syscalls to follow this better, and let's see if this
    strictness helps us in the future.
    
    OpenBSD-Commit-ID: 48081f00db7518e3b712a49dca06efc2a5428075

commit e8c974043c1648eab0ad67a7ba6a3e444fe79d2d
Author: deraadt at openbsd.org <deraadt at openbsd.org>
Date:   Fri Jun 28 05:44:09 2019 +0000

    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

Summary of changes:
 auth-rhosts.c  | 10 +++++-----
 auth.c         | 16 ++++++++--------
 auth2.c        |  4 ++--
 authfd.c       |  6 +++---
 authfile.c     | 12 ++++++------
 canohost.c     |  6 +++---
 channels.c     | 46 +++++++++++++++++++++++-----------------------
 clientloop.c   | 12 ++++++------
 misc.c         | 18 +++++++++---------
 monitor.c      | 10 +++++-----
 monitor_wrap.c |  4 ++--
 mux.c          |  8 ++++----
 nchan.c        |  6 +++---
 packet.c       | 14 +++++++-------
 readconf.c     |  4 ++--
 readpass.c     | 10 +++++-----
 scp.c          | 24 ++++++++++++------------
 serverloop.c   |  8 ++++----
 session.c      | 48 ++++++++++++++++++++++++------------------------
 sftp-server.c  | 24 ++++++++++++------------
 ssh-add.c      |  6 +++---
 ssh-agent.c    | 10 +++++-----
 ssh-keygen.c   | 24 ++++++++++++------------
 ssh-keyscan.c  | 12 ++++++------
 ssh.c          | 18 +++++++++---------
 sshconnect.c   | 26 +++++++++++++-------------
 sshconnect2.c  | 20 ++++++++++----------
 sshd.c         | 30 +++++++++++++++---------------
 sshkey-xmss.c  | 14 +++++++-------
 sshlogin.c     |  2 +-
 sshpty.c       | 18 +++++++++---------
 uidswap.c      | 32 ++++++++++++++++----------------
 32 files changed, 251 insertions(+), 251 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list