smbd: Pass unparsed_path_length to symlink_reparse_buffer_marshall()
authorVolker Lendecke <vl@samba.org>
Fri, 14 Oct 2022 15:12:26 +0000 (17:12 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 22 Nov 2022 18:27:33 +0000 (18:27 +0000)
commitf2c0f118fcccc19072639a7bccad673cc86dc5a6
tree121ed615dd36986d3e6577c7b9cc2920f06b608a
parent9e07a8181247385a169e02adc184a03590d35573
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>
libcli/smb/reparse_symlink.c
libcli/smb/reparse_symlink.h
source3/libsmb/clisymlink.c