summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-28 15:28:31 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-29 16:00:07 +0100
commit8c7e7ee91beda577ec6a9acf36a856a3dadb30c6 (patch)
treec65a3a2aa93a8cd1b0c9e4f893108d777c639e9c /libcli
parent3453665bcb408e2961920d156353ae45402d682f (diff)
downloadsamba-8c7e7ee91beda577ec6a9acf36a856a3dadb30c6.tar.gz
samba-8c7e7ee91beda577ec6a9acf36a856a3dadb30c6.tar.bz2
samba-8c7e7ee91beda577ec6a9acf36a856a3dadb30c6.zip
smbXcli: allow up to 10 iovec elements for the bytes in smb1cli_req_create()
The smb1cli_trans_* code uses up to 6 elements, which was too much for the current limit of 5. metze
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smbXcli_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index d5ad1466ff..b8be9c143f 100644
--- a/libcli/smb/smbXcli_base.c
+++ b/libcli/smb/smbXcli_base.c
@@ -164,7 +164,7 @@ struct smbXcli_req_state {
uint16_t *vwv;
uint8_t bytecount_buf[2];
-#define MAX_SMB_IOV 5
+#define MAX_SMB_IOV 10
/* length_hdr, hdr, words, byte_count, buffers */
struct iovec iov[1 + 3 + MAX_SMB_IOV];
int iov_count;