version 1.188, 2013/07/12 00:19:58 |
version 1.189, 2013/11/08 00:39:15 |
|
|
(type == SSH2_MSG_SERVICE_REQUEST) || |
(type == SSH2_MSG_SERVICE_REQUEST) || |
(type == SSH2_MSG_SERVICE_ACCEPT)) { |
(type == SSH2_MSG_SERVICE_ACCEPT)) { |
debug("enqueue packet: %u", type); |
debug("enqueue packet: %u", type); |
p = xmalloc(sizeof(*p)); |
p = xcalloc(1, sizeof(*p)); |
p->type = type; |
p->type = type; |
memcpy(&p->payload, &active_state->outgoing_packet, |
memcpy(&p->payload, &active_state->outgoing_packet, |
sizeof(Buffer)); |
sizeof(Buffer)); |