From: Volker Lendecke Date: Wed, 9 Nov 2022 11:56:11 +0000 (+0100) Subject: libsmb: Fix cli_fsctl() X-Git-Tag: talloc-2.4.0~516 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d65f10c5863749b3b3ead5f178bbd1deb6f287;p=thirdparty%2Fsamba.git libsmb: Fix cli_fsctl() Untested code is broken code. Found while testing symlinks over SMB1. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index bc99e1953ff..039bbcb076a 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -7174,7 +7174,7 @@ struct tevent_req *cli_fsctl_send( 0, /* flags */ setup, 4, 0, /* setup */ NULL, 0, 0, /* param */ - NULL, 0, max_out); /* data */ + in->data, in->length, max_out); /* data */ if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev);