search for: compress_init_send_called

Displaying 1 result from an estimated 1 matches for "compress_init_send_called".

2001 Sep 27
0
OpenSSH 2.9p2 bugs
...;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 || level > 9) fatal("Bad compression level %d.", level); deflateInit(&outgoing_stream,...