[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Wed Nov 9 02:14:03 MST 2011
The branch, master has been updated
via 4b31c42 s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)
from 0c2f91c s4-provision: Create ldap records for DNS partitions similar to windows
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4b31c4273c45faa639445614061f3da548eb8505
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 9 08:09:17 2011 +0100
s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)
Otherwise we may get unexpected results.
This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8
(s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326))
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/clireadwrite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c
index 79624ec..2a39edf 100644
--- a/source3/libsmb/clireadwrite.c
+++ b/source3/libsmb/clireadwrite.c
@@ -880,7 +880,7 @@ struct tevent_req *cli_write_andx_create(TALLOC_CTX *mem_ctx,
state->iov[0].iov_base = (void *)&state->pad;
state->iov[0].iov_len = 1;
state->iov[1].iov_base = discard_const_p(void, buf);
- state->iov[1].iov_len = size;
+ state->iov[1].iov_len = state->size;
subreq = cli_smb_req_create(state, ev, cli, SMBwriteX, 0, wct, vwv,
2, state->iov);
--
Samba Shared Repository
More information about the samba-cvs
mailing list