- clean the data structures in the privileged process
This commit is contained in:
parent
f32d86bd8a
commit
ee23b09ac6
@ -286,10 +286,10 @@ diff -up openssh-5.6p1/packet.c.audit5 openssh-5.6p1/packet.c
|
|||||||
+ if (state == NULL)
|
+ if (state == NULL)
|
||||||
+ return;
|
+ return;
|
||||||
+
|
+
|
||||||
+ if (state->connection_in >= 0)
|
+// if (state->connection_in >= 0)
|
||||||
+ close(state->connection_in);
|
+// close(state->connection_in);
|
||||||
+ if ((state->connection_in != state->connection_out) && (state->connection_out >= 0))
|
+// if ((state->connection_in != state->connection_out) && (state->connection_out >= 0))
|
||||||
+ close(state->connection_out);
|
+// close(state->connection_out);
|
||||||
+
|
+
|
||||||
+ cipher_cleanup(&state->receive_context);
|
+ cipher_cleanup(&state->receive_context);
|
||||||
+ cipher_cleanup(&state->send_context);
|
+ cipher_cleanup(&state->send_context);
|
||||||
@ -303,7 +303,7 @@ diff -up openssh-5.6p1/packet.c.audit5 openssh-5.6p1/packet.c
|
|||||||
+ newkeys_destroy(state->newkeys[MODE_OUT]);
|
+ newkeys_destroy(state->newkeys[MODE_OUT]);
|
||||||
+ mac_destroy(state->packet_discard_mac);
|
+ mac_destroy(state->packet_discard_mac);
|
||||||
+// TAILQ_HEAD(, packet) outgoing;
|
+// TAILQ_HEAD(, packet) outgoing;
|
||||||
+ memset(state, 0, sizeof(state));
|
+// memset(state, 0, sizeof(state));
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+void
|
+void
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
|
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
|
||||||
%define openssh_ver 5.6p1
|
%define openssh_ver 5.6p1
|
||||||
%define openssh_rel 27
|
%define openssh_rel 28
|
||||||
%define pam_ssh_agent_ver 0.9.2
|
%define pam_ssh_agent_ver 0.9.2
|
||||||
%define pam_ssh_agent_rel 29
|
%define pam_ssh_agent_rel 29
|
||||||
|
|
||||||
@ -603,7 +603,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 1 2011 Jan F. Chadima <jchadima@redhat.com> - 5.6p1-27 + 0.9.2-29
|
* Tue Feb 2 2011 Jan F. Chadima <jchadima@redhat.com> - 5.6p1-28 + 0.9.2-29
|
||||||
- clean the data structures in the privileged process
|
- clean the data structures in the privileged process
|
||||||
|
|
||||||
* Tue Jan 25 2011 Jan F. Chadima <jchadima@redhat.com> - 5.6p1-25 + 0.9.2-29
|
* Tue Jan 25 2011 Jan F. Chadima <jchadima@redhat.com> - 5.6p1-25 + 0.9.2-29
|
||||||
|
Loading…
Reference in New Issue
Block a user