|
Jakub Jelen |
48cef7 |
From 4f60e4f66b5880c9f50ef758e8b7f7a9ae786d21 Mon Sep 17 00:00:00 2001
|
|
Jakub Jelen |
48cef7 |
From: Darren Tucker <dtucker@dtucker.net>
|
|
Jakub Jelen |
48cef7 |
Date: Fri, 13 Apr 2018 13:13:33 +1000
|
|
Jakub Jelen |
48cef7 |
Subject: [PATCH 1/5] Revert $REGRESSTMP changes.
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
Revert 3fd2d229 and subsequent changes as they turned out to be a
|
|
Jakub Jelen |
48cef7 |
portability hassle.
|
|
Jakub Jelen |
48cef7 |
---
|
|
Jakub Jelen |
48cef7 |
Makefile.in | 4 +---
|
|
Jakub Jelen |
48cef7 |
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
diff --git a/Makefile.in b/Makefile.in
|
|
Jakub Jelen |
48cef7 |
index 04e1c8e53..dd942ee7b 100644
|
|
Jakub Jelen |
48cef7 |
--- a/Makefile.in
|
|
Jakub Jelen |
48cef7 |
+++ b/Makefile.in
|
|
Jakub Jelen |
48cef7 |
@@ -577,8 +577,6 @@ regress-binaries: regress/modpipe$(EXEEXT) \
|
|
Jakub Jelen |
48cef7 |
regress/unittests/pkcs11/test_pkcs11$(EXEEXT) \
|
|
Jakub Jelen |
48cef7 |
regress/misc/kexfuzz/kexfuzz$(EXEEXT)
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
-REGRESSTMP = "$(PWD)/regress"
|
|
Jakub Jelen |
48cef7 |
-
|
|
Jakub Jelen |
48cef7 |
tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS)
|
|
Jakub Jelen |
48cef7 |
BUILDDIR=`pwd`; \
|
|
Jakub Jelen |
48cef7 |
TEST_SSH_SCP="$${BUILDDIR}/scp"; \
|
|
Jakub Jelen |
48cef7 |
@@ -602,7 +600,7 @@ tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS)
|
|
Jakub Jelen |
48cef7 |
.OBJDIR="$${BUILDDIR}/regress" \
|
|
Jakub Jelen |
48cef7 |
.CURDIR="`pwd`" \
|
|
Jakub Jelen |
48cef7 |
BUILDDIR="$${BUILDDIR}" \
|
|
Jakub Jelen |
48cef7 |
- OBJ="$(REGRESSTMP)" \
|
|
Jakub Jelen |
48cef7 |
+ OBJ="$${BUILDDIR}/regress/" \
|
|
Jakub Jelen |
48cef7 |
PATH="$${BUILDDIR}:$${PATH}" \
|
|
Jakub Jelen |
48cef7 |
TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
|
|
Jakub Jelen |
48cef7 |
TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
From b81b2d120e9c8a83489e241620843687758925ad Mon Sep 17 00:00:00 2001
|
|
Jakub Jelen |
48cef7 |
From: Damien Miller <djm@mindrot.org>
|
|
Jakub Jelen |
48cef7 |
Date: Fri, 13 Apr 2018 13:38:06 +1000
|
|
Jakub Jelen |
48cef7 |
Subject: [PATCH 2/5] Fix tunnel forwarding broken in 7.7p1
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
bz2855, ok dtucker@
|
|
Jakub Jelen |
48cef7 |
---
|
|
Jakub Jelen |
48cef7 |
openbsd-compat/port-net.c | 4 ++--
|
|
Jakub Jelen |
48cef7 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
diff --git a/openbsd-compat/port-net.c b/openbsd-compat/port-net.c
|
|
Jakub Jelen |
48cef7 |
index 7050629c3..bb535626f 100644
|
|
Jakub Jelen |
48cef7 |
--- a/openbsd-compat/port-net.c
|
|
Jakub Jelen |
48cef7 |
+++ b/openbsd-compat/port-net.c
|
|
Jakub Jelen |
48cef7 |
@@ -185,7 +185,7 @@ sys_tun_open(int tun, int mode, char **ifname)
|
|
Jakub Jelen |
48cef7 |
else
|
|
Jakub Jelen |
48cef7 |
debug("%s: %s mode %d fd %d", __func__, ifr.ifr_name, mode, fd);
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
- if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)))
|
|
Jakub Jelen |
48cef7 |
+ if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL)
|
|
Jakub Jelen |
48cef7 |
goto failed;
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
return (fd);
|
|
Jakub Jelen |
48cef7 |
@@ -272,7 +272,7 @@ sys_tun_open(int tun, int mode, char **ifname)
|
|
Jakub Jelen |
48cef7 |
goto failed;
|
|
Jakub Jelen |
48cef7 |
}
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
- if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)))
|
|
Jakub Jelen |
48cef7 |
+ if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL)
|
|
Jakub Jelen |
48cef7 |
goto failed;
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
close(sock);
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
From 341727df910e12e26ef161508ed76d91c40a61eb Mon Sep 17 00:00:00 2001
|
|
Jakub Jelen |
48cef7 |
From: "djm@openbsd.org" <djm@openbsd.org>
|
|
Jakub Jelen |
48cef7 |
Date: Mon, 9 Apr 2018 23:54:49 +0000
|
|
Jakub Jelen |
48cef7 |
Subject: [PATCH 3/5] upstream: don't kill ssh-agent's listening socket
|
|
Jakub Jelen |
48cef7 |
entriely if we
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
fail to accept a connection; bz#2837, patch from Lukas Kuster
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
OpenBSD-Commit-ID: 52413f5069179bebf30d38f524afe1a2133c738f
|
|
Jakub Jelen |
48cef7 |
---
|
|
Jakub Jelen |
48cef7 |
ssh-agent.c | 7 +++----
|
|
Jakub Jelen |
48cef7 |
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
diff --git a/ssh-agent.c b/ssh-agent.c
|
|
Jakub Jelen |
48cef7 |
index 2a4578b03..68de56ce6 100644
|
|
Jakub Jelen |
48cef7 |
--- a/ssh-agent.c
|
|
Jakub Jelen |
48cef7 |
+++ b/ssh-agent.c
|
|
Jakub Jelen |
48cef7 |
@@ -1,4 +1,4 @@
|
|
Jakub Jelen |
48cef7 |
-/* $OpenBSD: ssh-agent.c,v 1.228 2018/02/23 15:58:37 markus Exp $ */
|
|
Jakub Jelen |
48cef7 |
+/* $OpenBSD: ssh-agent.c,v 1.229 2018/04/09 23:54:49 djm Exp $ */
|
|
Jakub Jelen |
48cef7 |
/*
|
|
Jakub Jelen |
48cef7 |
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
|
Jakub Jelen |
48cef7 |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
|
Jakub Jelen |
48cef7 |
@@ -909,9 +909,8 @@ after_poll(struct pollfd *pfd, size_t npfd)
|
|
Jakub Jelen |
48cef7 |
/* Process events */
|
|
Jakub Jelen |
48cef7 |
switch (sockets[socknum].type) {
|
|
Jakub Jelen |
48cef7 |
case AUTH_SOCKET:
|
|
Jakub Jelen |
48cef7 |
- if ((pfd[i].revents & (POLLIN|POLLERR)) != 0 &&
|
|
Jakub Jelen |
48cef7 |
- handle_socket_read(socknum) != 0)
|
|
Jakub Jelen |
48cef7 |
- close_socket(&sockets[socknum]);
|
|
Jakub Jelen |
48cef7 |
+ if ((pfd[i].revents & (POLLIN|POLLERR)) != 0)
|
|
Jakub Jelen |
48cef7 |
+ handle_socket_read(socknum);
|
|
Jakub Jelen |
48cef7 |
break;
|
|
Jakub Jelen |
48cef7 |
case AUTH_CONNECTION:
|
|
Jakub Jelen |
48cef7 |
if ((pfd[i].revents & (POLLIN|POLLERR)) != 0 &&
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
From 3402cc607049ac900f6d8574bc2ce657a8cdf4fe Mon Sep 17 00:00:00 2001
|
|
Jakub Jelen |
48cef7 |
From: Darren Tucker <dtucker@dtucker.net>
|
|
Jakub Jelen |
48cef7 |
Date: Fri, 13 Apr 2018 13:43:55 +1000
|
|
Jakub Jelen |
48cef7 |
Subject: [PATCH 4/5] Using "==" in shell tests is not portable.
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
Patch from rsbecker at nexbridge.com.
|
|
Jakub Jelen |
48cef7 |
---
|
|
Jakub Jelen |
48cef7 |
configure.ac | 2 +-
|
|
Jakub Jelen |
48cef7 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
diff --git a/configure.ac b/configure.ac
|
|
Jakub Jelen |
48cef7 |
index 663062bef..2e84d90b7 100644
|
|
Jakub Jelen |
48cef7 |
--- a/configure.ac
|
|
Jakub Jelen |
48cef7 |
+++ b/configure.ac
|
|
Jakub Jelen |
48cef7 |
@@ -1398,7 +1398,7 @@ AC_RUN_IFELSE(
|
|
Jakub Jelen |
48cef7 |
)
|
|
Jakub Jelen |
48cef7 |
AC_MSG_RESULT([$func_calloc_0_nonnull])
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
-if test "x$func_calloc_0_nonnull" == "xyes"; then
|
|
Jakub Jelen |
48cef7 |
+if test "x$func_calloc_0_nonnull" = "xyes"; then
|
|
Jakub Jelen |
48cef7 |
AC_DEFINE(HAVE_CALLOC, 1, [calloc(0, x) returns non-null])
|
|
Jakub Jelen |
48cef7 |
else
|
|
Jakub Jelen |
48cef7 |
AC_DEFINE(HAVE_CALLOC, 0, [calloc(0, x) returns NULL])
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
From 85fe48fd49f2e81fa30902841b362cfbb7f1933b Mon Sep 17 00:00:00 2001
|
|
Jakub Jelen |
48cef7 |
From: "djm@openbsd.org" <djm@openbsd.org>
|
|
Jakub Jelen |
48cef7 |
Date: Sat, 14 Apr 2018 21:50:41 +0000
|
|
Jakub Jelen |
48cef7 |
Subject: [PATCH 5/5] upstream: don't free the %C expansion, it's used later
|
|
Jakub Jelen |
48cef7 |
for
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
LocalCommand
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
OpenBSD-Commit-ID: 857b5cb37b2d856bfdfce61289a415257a487fb1
|
|
Jakub Jelen |
48cef7 |
---
|
|
Jakub Jelen |
48cef7 |
ssh.c | 1 -
|
|
Jakub Jelen |
48cef7 |
1 file changed, 1 deletion(-)
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
diff --git a/ssh.c b/ssh.c
|
|
Jakub Jelen |
48cef7 |
index d3619fe29..9c011dd7e 100644
|
|
Jakub Jelen |
48cef7 |
--- a/ssh.c
|
|
Jakub Jelen |
48cef7 |
+++ b/ssh.c
|
|
Jakub Jelen |
48cef7 |
@@ -1323,7 +1323,6 @@ main(int ac, char **av)
|
|
Jakub Jelen |
48cef7 |
(char *)NULL);
|
|
Jakub Jelen |
48cef7 |
free(cp);
|
|
Jakub Jelen |
48cef7 |
}
|
|
Jakub Jelen |
48cef7 |
- free(conn_hash_hex);
|
|
Jakub Jelen |
48cef7 |
|
|
Jakub Jelen |
48cef7 |
if (config_test) {
|
|
Jakub Jelen |
48cef7 |
dump_client_config(&options, host);
|