smbXcli: allow up to 10 iovec elements for the bytes in smb1cli_req_create()
[ira/wip.git] / libcli / smb / smbXcli_base.c
index d5ad1466ff39b4919db3f2635ba60b8efc798f40..b8be9c143fb2add0ef14df4188d098d2a3ca37e9 100644 (file)
@@ -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;