search for: buffer_compress_init_send

Displaying 2 results from an estimated 2 matches for "buffer_compress_init_send".

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 || level > 9) fatal("Bad compression level %d.",...
2001 Oct 24
2
disable features
...} /* Sets remote side protocol flags. */ @@ -255,6 +259,7 @@ return remote_protocol_flags; } +#ifdef WITH_COMPRESSION /* * Starts packet compression from the next packet on in both directions. * Level is compression level 1 (fastest) - 9 (slow, best) as in gzip. @@ -279,6 +284,7 @@ buffer_compress_init_send(level); buffer_compress_init_recv(); } +#endif /* * Causes any further packets to be encrypted using the given key. The same @@ -364,6 +370,7 @@ u_int checksum; u_int32_t rand = 0; +#ifdef WITH_COMPRESSION /* * If using packet compression, compress the payload of the outgoing...