Limit the size of acceptable compressed packets

This commit is contained in:
Aris Adamantiadis
2009-09-16 22:29:22 +02:00
parent fd7b7bc3b5
commit 7c7096d8f8
3 changed files with 10 additions and 6 deletions

View File

@@ -785,7 +785,7 @@ unsigned char *bin_to_base64(const unsigned char *source, int len);
/* gzip.c */
int compress_buffer(SSH_SESSION *session,ssh_buffer buf);
int decompress_buffer(SSH_SESSION *session,ssh_buffer buf);
int decompress_buffer(SSH_SESSION *session,ssh_buffer buf, size_t maxlen);
/* wrapper.c */
int crypt_set_algorithms(SSH_SESSION *);