aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-16 22:29:22 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-16 22:29:22 +0200
commit7c7096d8f875e9235eab738cb79c71c882615121 (patch)
tree48ef695a4cc1ea6cb4b9296f3b1d8153d545485c /include
parentfd7b7bc3b537c0410eb9fb5c3e212dc84b63fb3a (diff)
downloadlibssh-7c7096d8f875e9235eab738cb79c71c882615121.tar.gz
libssh-7c7096d8f875e9235eab738cb79c71c882615121.tar.xz
libssh-7c7096d8f875e9235eab738cb79c71c882615121.zip
Limit the size of acceptable compressed packets
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index f24102ff..6ad7ca7e 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -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 *);