summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2016-09-12 20:28:04 -0700
committerPatrick McLean <chutzpah@gentoo.org>2016-09-12 20:28:04 -0700
commitd0b7910d4dd05ab0ede0d3872fb68ebfb5bc20c4 (patch)
treeabbe1a6a25bf662796870423d00e8e71dc8a302d /net-misc/openssh/files
parentkde-plasma/kde-gtk-config: ensure we use gentoo cursor paths by importing ups... (diff)
downloadgentoo-d0b7910d4dd05ab0ede0d3872fb68ebfb5bc20c4.tar.gz
gentoo-d0b7910d4dd05ab0ede0d3872fb68ebfb5bc20c4.tar.bz2
gentoo-d0b7910d4dd05ab0ede0d3872fb68ebfb5bc20c4.zip
net-misc/openssh: Revision bump, add a patch to fix a bug in the X509 patch
The X509 patch would segfault when connecting to a server that had a X509 host key and was in the known_hosts file due to an uninitialized variable. This adds a patch to fix the problem. Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r--net-misc/openssh/files/openssh-7.3_p1-fix-segfault-with-x509.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-7.3_p1-fix-segfault-with-x509.patch b/net-misc/openssh/files/openssh-7.3_p1-fix-segfault-with-x509.patch
new file mode 100644
index 000000000000..dca4457e424f
--- /dev/null
+++ b/net-misc/openssh/files/openssh-7.3_p1-fix-segfault-with-x509.patch
@@ -0,0 +1,12 @@
+diff --git a/sshkey.c b/sshkey.c
+index c9f04cd..4f00e9a 100644
+--- a/sshkey.c
++++ b/sshkey.c
+@@ -1237,6 +1237,7 @@ sshkey_read(struct sshkey *ret, char **cpp)
+ #endif /* WITH_SSH1 */
+
+ cp = *cpp;
++ ep = cp;
+
+ switch (ret->type) {
+ case KEY_RSA1: