Displaying 2 results from an estimated 2 matches for "outgoing_stream".
2001 Sep 27
0
OpenSSH 2.9p2 bugs
Howdy,
I've found two bugs in the OpenSSH 2.9p2 source code. I had
a look into the latest source-tree available at openssh.com,
and they seem still there:
-- 'incoming_stream' is used in place of 'outgoing_stream',
file compress.c, line 36:
void
buffer_compress_init_send(int level)
{
if (compress_init_send_called == 1)
deflateEnd(&incoming_stream); ****** should be &outgoing_stream
compress_init_send_called = 1;
debug("Enabling compression at level %d.", level);
if (level < 1...
2003 Oct 08
4
OS/390 openssh
..._keycontext(MODE_IN, NULL);
p = xmalloc(plen+1);
packet_get_keycontext(MODE_IN, p);
- buffer_put_string(&m, p, plen);
+ buffer_put_binary(&m, p, plen);
xfree(p);
/* Compression state */
debug3("%s: Sending compression state", __func__);
- buffer_put_string(&m, &outgoing_stream, sizeof(outgoing_stream));
- buffer_put_string(&m, &incoming_stream, sizeof(incoming_stream));
+ buffer_put_binary(&m, &outgoing_stream, sizeof(outgoing_stream));
+ buffer_put_binary(&m, &incoming_stream, sizeof(incoming_stream));
/* Network I/O buffers */
- buffer_put_s...