[openssh-commits] [openssh] branch master updated (633d3dc2 -> 7187d3f8)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Mar 10 13:53:12 AEDT 2023


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

dtucker pushed a change to branch master
in repository openssh.

      from  633d3dc2  upstream: modify parentheses in conditionals to make it clearer what is
       new  77adde43  Wrap mkstemp calls with umask set/restore.
       new  7187d3f8  upstream: Remove no-op (int) > INT_MAX checks

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 7187d3f86bf8f2066cc9941f217d23b0cacae25e
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Fri Mar 10 02:24:56 2023 +0000

    upstream: Remove no-op (int) > INT_MAX checks
    
    since they can never be true. From Coverity CID 405031, ok djm@
    
    OpenBSD-Commit-ID: 9df3783b181e056595e2bb9edf7ed41d61cf8e84

commit 77adde4305542ebe3005dd456122624fe2347b01
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Mar 10 13:27:29 2023 +1100

    Wrap mkstemp calls with umask set/restore.
    
    glibc versions 2.06 and earlier did not set a umask on files created by
    mkstemp created the world-writable.  Wrap mkstemp to set and restore
    the umask.  From Coverity (CIDs 291826 291886 291891), ok djm@

Summary of changes:
 openbsd-compat/mktemp.c         | 22 ++++++++++++++++++++++
 openbsd-compat/openbsd-compat.h |  2 ++
 readconf.c                      |  8 +++-----
 3 files changed, 27 insertions(+), 5 deletions(-)

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


More information about the openssh-commits mailing list