[openssh-commits] [openssh] branch master updated (a1dd1c806 -> ea91c7a1a)

git+noreply at mindrot.org git+noreply at mindrot.org
Sun May 31 22:29:09 AEST 2026


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

djm pushed a change to branch master
in repository openssh.

    from a1dd1c806 upstream: avoid strlen(NULL) crash if an X11 channel was created before
     new bebc855fd upstream: big refactor of sshd config management code.
     new 633a4c1a2 upstream: flesh out match_pattern() tests, including a new
     new f2b815e42 upstream: the new configuration dump code emits configuration
     new 3bc4ac439 upstream: unit test for new servconf.[ch] code, including a basic
     new ea91c7a1a depend

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


Detailed log of new commits:

commit ea91c7a1a9ccb22bacd8fcff824c84e3b8414af5
Author: Damien Miller <djm at mindrot.org>
Date:   Sun May 31 22:03:56 2026 +1000

    depend

commit 3bc4ac43943852b214a3d85e3424d9304c8a736d
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sun May 31 11:39:44 2026 +0000

    upstream: unit test for new servconf.[ch] code, including a basic
    
    fuzz test for deserialisation
    
    OpenBSD-Regress-ID: f182c21485dc37a41a125f067b59bee48adbfe6c

commit f2b815e42d9fd654cb457cd7e7d1cb751f1a5a33
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sun May 31 11:31:57 2026 +0000

    upstream: the new configuration dump code emits configuration
    
    directives with capitalisation (previously they were all lowercase), so make
    the tests that consume them insensitive to case
    
    OpenBSD-Regress-ID: 9a81d8501b8b8fc1c1a0d268d4cc91cbb19668f5

commit 633a4c1a24605e48c46fe76afc0814d20593fc00
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sun May 31 04:20:58 2026 +0000

    upstream: flesh out match_pattern() tests, including a new
    
    comparison test of the new NFA-based implementation against the original one
    for all possible combinations of short inputs and patterns constructed from a
    small dictionary of possibilities.
    
    OpenBSD-Regress-ID: a18e86c95afb6243ac270468f5dd0ab4a78c8074

commit bebc855fdb3f8c7f96fd392f67bec2134cc42b1b
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sun May 31 11:30:50 2026 +0000

    upstream: big refactor of sshd config management code.
    
    This generates much of the initialisation, defaults and keyword table
    code from a set of macros rather than hand coding them. These same
    macros are also used to generate serialisation and deserialisation
    code.
    
    The macros are admittedly ugly but have the advantage of forcing a
    good degree of consistency across places that need to stay in sync
    with each other.
    
    The new de/serialisation code is used to pass configurations across
    the various sshd-* process boundaries. This removes the need to pass
    around raw text configurations that need to be re-parsed as well as
    eliminating some raw pointer leakage across the processes where
    structures were previously clumsily serialised.
    
    feedback/ok markus@
    
    OpenBSD-Commit-ID: 9a5109a480637e08c290eeb82aa8ef2ca7e848ce

Summary of changes:
 .depend                                         |    2 +-
 Makefile.in                                     |   19 +
 monitor.c                                       |   58 +-
 monitor_wrap.c                                  |   84 +-
 monitor_wrap.h                                  |    6 +-
 regress/Makefile                                |    1 +
 regress/addrmatch.sh                            |    4 +-
 regress/cfgmatch.sh                             |    4 +-
 regress/unittests/Makefile                      |    4 +-
 regress/unittests/match/tests.c                 |  202 ++-
 regress/unittests/{sshkey => servconf}/Makefile |   15 +-
 regress/unittests/servconf/tests.c              |  362 +++++
 servconf.c                                      | 1927 ++++++++++++++++-------
 servconf.h                                      |  471 +++---
 sshd-auth.c                                     |   57 +-
 15 files changed, 2329 insertions(+), 887 deletions(-)
 copy regress/unittests/{sshkey => servconf}/Makefile (72%)
 create mode 100644 regress/unittests/servconf/tests.c

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


More information about the openssh-commits mailing list