diff options
author | Jeremy Allison <jra@samba.org> | 2009-09-14 15:06:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-09-14 15:10:53 -0700 |
commit | f31138ecc778db42b1aa7ce634425a1df663b0eb (patch) | |
tree | 87afe9dc75037d9c1ec7d1c7138ccbd0254ebc09 /source3 | |
parent | e94361e1e29d015e9cdfde47f7163d1dd7bb596a (diff) | |
download | samba-f31138ecc778db42b1aa7ce634425a1df663b0eb.tar.gz samba-f31138ecc778db42b1aa7ce634425a1df663b0eb.tar.bz2 samba-f31138ecc778db42b1aa7ce634425a1df663b0eb.zip |
Fix bug 6726 - Filename length overwrites oplock request field in cli_nt_create().
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 696c979802..b15aa8d998 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -2044,7 +2044,7 @@ struct tevent_req *cli_ntcreate_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - SIVAL(vwv+2, 1, converted_len); + SSVAL(vwv+2, 1, converted_len); subreq = cli_smb_send(state, ev, cli, SMBntcreateX, 0, 24, vwv, talloc_get_size(bytes), bytes); |