smbd: Fix CID 1452293 Incorrect expression (NO_EFFECT)
authorVolker Lendecke <vl@samba.org>
Wed, 14 Aug 2019 08:26:59 +0000 (10:26 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 14 Aug 2019 11:48:42 +0000 (11:48 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph B√∂hme <slow@samba.org>
Autobuild-Date(master): Wed Aug 14 11:48:42 UTC 2019 on sn-devel-184

source3/rpc_server/mdssvc/srv_mdssvc_nt.c

index 0e8e9c6..4c252ce 100644 (file)
@@ -153,7 +153,7 @@ void _mdssvc_open(struct pipes_struct *p, struct mdssvc_open *r)
 
        *r->out.device_id = *r->in.device_id;
        *r->out.unkn2 = *r->in.unkn2;
-       *r->out.unkn3 = *r->out.unkn3;
+       *r->out.unkn3 = *r->in.unkn3;
        outpath[0] = '\0';
 
        snum = lp_servicenumber(r->in.share_name);