[openssh-commits] [openssh] branch master updated: upstream: add a regress test for configurations > 256KB
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Jul 4 17:53:44 AEST 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 007b69f21 upstream: add a regress test for configurations > 256KB
007b69f21 is described below
commit 007b69f21cf9e64125b241d4411a5e47f5028aa8
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Fri Jul 4 07:52:17 2025 +0000
upstream: add a regress test for configurations > 256KB
mostly by Dmitry Belyavskiy
OpenBSD-Regress-ID: fcedb249e4cf2447e078a839877f99730ee79024
---
regress/Makefile | 5 +++--
regress/connect-bigconf.sh | 17 +++++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/regress/Makefile b/regress/Makefile
index b8787205a..ece093a2b 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.139 2025/06/28 13:34:08 dtucker Exp $
+# $OpenBSD: Makefile,v 1.140 2025/07/04 07:52:17 djm Exp $
tests: prep file-tests t-exec unit
@@ -113,7 +113,8 @@ LTESTS= connect \
agent-pkcs11-restrict \
agent-pkcs11-cert \
penalty \
- penalty-expire
+ penalty-expire \
+ connect-bigconf
INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers
INTEROP_TESTS+= dropbear-ciphers dropbear-kex dropbear-server
diff --git a/regress/connect-bigconf.sh b/regress/connect-bigconf.sh
new file mode 100644
index 000000000..56cf0ea64
--- /dev/null
+++ b/regress/connect-bigconf.sh
@@ -0,0 +1,17 @@
+# $OpenBSD: connect-bigconf.sh,v 1.1 2025/07/04 07:52:17 djm Exp $
+# Placed in the Public Domain.
+
+tid="simple connect"
+
+for x in `jot 10000 1` ; do
+ echo "Match group NONEXIST" >> $OBJ/sshd_config
+ echo "ChrootDirectory /some/path/for/group/NONEXIST" >> $OBJ/sshd_config
+done
+#cat $OBJ/sshd_config
+start_sshd
+
+trace "direct connect with large sshd_config"
+${SSH} -F $OBJ/ssh_config somehost true
+if [ $? -ne 0 ]; then
+ fail "ssh direct connect with large sshd_config failed"
+fi
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list