[openssh-commits] [openssh] branch master updated (eb1f6319 -> 10b899a1)

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Nov 10 12:35:38 AEDT 2021


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

dtucker pushed a change to branch master
in repository openssh.

      from  eb1f6319  upstream: Plug a couple of minor mem leaks. From beldmit at
       new  10b899a1  Don't trust closefrom() on Linux.

The 1 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 10b899a15c88eb40eb5f73cd0fa84ef0966f79c9
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Nov 10 12:34:25 2021 +1100

    Don't trust closefrom() on Linux.
    
    glibc's closefrom implementation does not work in a chroot when the kernel
    does not have close_range.  It tries to read from /proc/self/fd and when
    that fails dies with an assertion of sorts.  Instead, call close_range
    ourselves from our compat code and fall back if that fails.  bz#3349,
    with william.wilson at canonical.com and fweimer at redhat.com.

Summary of changes:
 configure.ac                   | 2 ++
 openbsd-compat/bsd-closefrom.c | 7 ++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

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


More information about the openssh-commits mailing list