Accepting request 202452 from home:pcerny:factory
- fix server crashes when using AES-GCM - removed superfluous build dependency on X OBS-URL: https://build.opensuse.org/request/show/202452 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=57
This commit is contained in:
parent
673551b2c9
commit
6fccab223a
@ -650,7 +650,7 @@ diff --git a/openssh-6.2p2/packet.c b/openssh-6.2p2/packet.c
|
|||||||
packet_set_protocol_flags(u_int protocol_flags)
|
packet_set_protocol_flags(u_int protocol_flags)
|
||||||
{
|
{
|
||||||
active_state->remote_protocol_flags = protocol_flags;
|
active_state->remote_protocol_flags = protocol_flags;
|
||||||
@@ -722,16 +733,33 @@ packet_send1(void)
|
@@ -722,16 +733,35 @@ packet_send1(void)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Note that the packet is now only buffered in output. It won't be
|
* Note that the packet is now only buffered in output. It won't be
|
||||||
@ -668,7 +668,9 @@ diff --git a/openssh-6.2p2/packet.c b/openssh-6.2p2/packet.c
|
|||||||
+ xfree(newkeys->enc.name);
|
+ xfree(newkeys->enc.name);
|
||||||
+
|
+
|
||||||
+ mac_clear(&newkeys->mac);
|
+ mac_clear(&newkeys->mac);
|
||||||
+ xfree(newkeys->mac.name);
|
+ /* MAC may happen to be empty - if the GCM mode of AES is used */
|
||||||
|
+ if (newkeys->mac.name)
|
||||||
|
+ xfree(newkeys->mac.name);
|
||||||
+
|
+
|
||||||
+ xfree(newkeys->comp.name);
|
+ xfree(newkeys->comp.name);
|
||||||
+
|
+
|
||||||
@ -684,7 +686,7 @@ diff --git a/openssh-6.2p2/packet.c b/openssh-6.2p2/packet.c
|
|||||||
Comp *comp;
|
Comp *comp;
|
||||||
CipherContext *cc;
|
CipherContext *cc;
|
||||||
u_int64_t *max_blocks;
|
u_int64_t *max_blocks;
|
||||||
@@ -747,31 +775,19 @@ set_newkeys(int mode)
|
@@ -747,31 +777,19 @@ set_newkeys(int mode)
|
||||||
} else {
|
} else {
|
||||||
cc = &active_state->receive_context;
|
cc = &active_state->receive_context;
|
||||||
crypt_type = CIPHER_DECRYPT;
|
crypt_type = CIPHER_DECRYPT;
|
||||||
@ -718,7 +720,7 @@ diff --git a/openssh-6.2p2/packet.c b/openssh-6.2p2/packet.c
|
|||||||
mac = &active_state->newkeys[mode]->mac;
|
mac = &active_state->newkeys[mode]->mac;
|
||||||
comp = &active_state->newkeys[mode]->comp;
|
comp = &active_state->newkeys[mode]->comp;
|
||||||
if (cipher_authlen(enc->cipher) == 0 && mac_init(mac) == 0)
|
if (cipher_authlen(enc->cipher) == 0 && mac_init(mac) == 0)
|
||||||
@@ -1967,54 +1983,93 @@ packet_get_output(void)
|
@@ -1967,54 +1985,93 @@ packet_get_output(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# HG changeset patch
|
# HG changeset patch
|
||||||
# Parent 3d1c0ed188101c45a132baae0b78f93a1d0e6160
|
# Parent 2e71c896d924778e46e68e0c9be9a8b13e428f2f
|
||||||
|
|
||||||
# select fingerprint hash algorithms based on the environment variable
|
# select fingerprint hash algorithms based on the environment variable
|
||||||
# SSH_FP_TYPE_ENVVAR and append it to hex and randomart fingerprints
|
# SSH_FP_TYPE_ENVVAR and append it to hex and randomart fingerprints
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# HG changeset patch
|
# HG changeset patch
|
||||||
# Parent 4c530768d07db136fcc679119220a02eb28b0127
|
# Parent a72dad36a987a441e9c92807b1d654e43ddee409
|
||||||
|
|
||||||
diff --git a/openssh-6.2p2/ChangeLog.gssapi b/openssh-6.2p2/ChangeLog.gssapi
|
diff --git a/openssh-6.2p2/ChangeLog.gssapi b/openssh-6.2p2/ChangeLog.gssapi
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 4 17:50:32 UTC 2013 - pcerny@suse.com
|
||||||
|
|
||||||
|
- fix server crashes when using AES-GCM
|
||||||
|
- removed superfluous build dependency on X
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 19 02:02:56 UTC 2013 - pcerny@suse.com
|
Thu Sep 19 02:02:56 UTC 2013 - pcerny@suse.com
|
||||||
|
|
||||||
|
@ -84,10 +84,6 @@ BuildRequires: systemd
|
|||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: tcpd-devel
|
BuildRequires: tcpd-devel
|
||||||
BuildRequires: xorg-x11-devel
|
|
||||||
%if %{needs_xorg_libs}
|
|
||||||
BuildRequires: xorg-x11-libs
|
|
||||||
%endif
|
|
||||||
Requires: /bin/netstat
|
Requires: /bin/netstat
|
||||||
PreReq: pwdutils %{insserv_prereq} %{fillup_prereq} coreutils
|
PreReq: pwdutils %{insserv_prereq} %{fillup_prereq} coreutils
|
||||||
Conflicts: nonfreessh
|
Conflicts: nonfreessh
|
||||||
|
Loading…
Reference in New Issue
Block a user