1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli/smb: outbuf length is a IVAL ie a uint32_t

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 31 04:34:29 CET 2017 on sn-devel-144
This commit is contained in:
Ralph Boehme 2017-01-30 06:49:58 +01:00 committed by Jeremy Allison
parent 9785fe5af6
commit 76a2999744

View File

@ -80,7 +80,7 @@ struct tevent_req *smb2cli_query_directory_send(TALLOC_CTX *mem_ctx,
SBVAL(fixed, 16, fid_volatile);
SSVAL(fixed, 24, SMB2_HDR_BODY + 32);
SSVAL(fixed, 26, dyn_len);
SSVAL(fixed, 28, outbuf_len);
SIVAL(fixed, 28, outbuf_len);
if (dyn_len == 0) {
dyn = state->dyn_pad;