summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2023-48795-buster.patch
blob: 6a53c5d68d7da5aeccdf989b0fa20a0841086532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: openssh/kex.c
===================================================================
--- openssh.orig/kex.c
+++ openssh/kex.c
@@ -630,6 +630,7 @@ kex_new(struct ssh *ssh, char *proposal[
 	}
 	if ((r = kex_prop2buf(kex->my, proposal)) != 0)
 		goto out;
+	kex->flags = KEX_INITIAL;
 	kex->done = 0;
 	kex_reset_dispatch(ssh);
 	ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, &kex_input_kexinit);