summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-22 22:46:29 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-22 22:46:29 +1000
commitd5def936fe67c1cde2c4ed00834c4ce325dfcb55 (patch)
tree81aa9c5d08d6da0e877fea4bbd03cd341eba82c6 /source4/libcli/smb2
parenta6e5c70da75e62c84eff0911c279c6a9b0b00b45 (diff)
downloadsamba-d5def936fe67c1cde2c4ed00834c4ce325dfcb55.tar.gz
samba-d5def936fe67c1cde2c4ed00834c4ce325dfcb55.tar.bz2
samba-d5def936fe67c1cde2c4ed00834c4ce325dfcb55.zip
pass in the required alignment to the EA construction routines
(This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/smb2/create.c b/source4/libcli/smb2/create.c
index 6ac32a494f..9d28bbf8c4 100644
--- a/source4/libcli/smb2/create.c
+++ b/source4/libcli/smb2/create.c
@@ -117,8 +117,8 @@ struct smb2_request *smb2_create_send(struct smb2_tree *tree, struct smb2_create
if (io->in.eas.num_eas != 0) {
DATA_BLOB b = data_blob_talloc(req, NULL,
- ea_list_size_chained(io->in.eas.num_eas, io->in.eas.eas));
- ea_put_list_chained(b.data, io->in.eas.num_eas, io->in.eas.eas);
+ ea_list_size_chained(io->in.eas.num_eas, io->in.eas.eas, 8));
+ ea_put_list_chained(b.data, io->in.eas.num_eas, io->in.eas.eas, 8);
status = smb2_create_blob_add(req, &io->in.blobs,
SMB2_CREATE_TAG_EXTA, b);
if (!NT_STATUS_IS_OK(status)) {