summaryrefslogtreecommitdiff
path: root/source3/libsmb/clisymlink.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-10-14 17:12:26 +0200
committerJeremy Allison <jra@samba.org>2022-11-22 18:27:33 +0000
commitf2c0f118fcccc19072639a7bccad673cc86dc5a6 (patch)
tree121ed615dd36986d3e6577c7b9cc2920f06b608a /source3/libsmb/clisymlink.c
parent9e07a8181247385a169e02adc184a03590d35573 (diff)
downloadsamba-f2c0f118fcccc19072639a7bccad673cc86dc5a6.tar.gz
smbd: Pass unparsed_path_length to symlink_reparse_buffer_marshall()
[MS-FSCC] 2.1.2.4 Symbolic Link Reparse Data Buffer lists this field as reserved, but [MS-SMB2] 2.2.2.2.1 Symbolic Link Error Response is the exact same format with the reserved field as UnparsedPathLength. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/clisymlink.c')
-rw-r--r--source3/libsmb/clisymlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clisymlink.c b/source3/libsmb/clisymlink.c
index 35a9c406968..f77f2c050ab 100644
--- a/source3/libsmb/clisymlink.c
+++ b/source3/libsmb/clisymlink.c
@@ -97,7 +97,7 @@ static void cli_symlink_create_done(struct tevent_req *subreq)
}
if (!symlink_reparse_buffer_marshall(
- state->link_target, NULL, state->flags, state,
+ state->link_target, NULL, 0, state->flags, state,
&state->in.data, &state->in.length)) {
tevent_req_oom(req);
return;