[openssh-commits] [openssh] branch V_7_3 updated (99522ba -> 7e6d709)

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Aug 2 12:39:00 AEST 2016


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

dtucker pushed a change to branch V_7_3
in repository openssh.

      from  99522ba   define _OPENBSD_SOURCE for reallocarray on NetBSD
       new  7e6d709   Explicitly test for broken strnvis.

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 7e6d709b45088b09a8c4f3e1c5e5189298034d10
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Tue Aug 2 12:16:34 2016 +1000

    Explicitly test for broken strnvis.
    
    NetBSD added an strnvis and unfortunately made it incompatible with the
    existing one in OpenBSD and Linux's libbsd (the former having existed
    for over ten years). Despite this incompatibility being reported during
    development (see http://gnats.netbsd.org/44977) they still shipped it.
    Even more unfortunately FreeBSD and later MacOS picked up this incompatible
    implementation.  Try to detect this mess, and assume the only safe option
    if we're cross compiling.
    
    OpenBSD 2.9 (2001): strnvis(char *dst, const char *src, size_t dlen, int flag);
    NetBSD 6.0 (2012):  strnvis(char *dst, size_t dlen, const char *src, int flag);
    
    ok djm@

Summary of changes:
 configure.ac | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)

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


More information about the openssh-commits mailing list