From fd5cf34e26215911664c6218ff7e7577e9aa5cd3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 28 Feb 2007 22:29:14 +0000 Subject: r21604: I got this wrong also in libsmb :-(. Jeremy. (This used to be commit 4a04555e23b5fa53fbeb5b65a7c83cff1b0f9640) --- source3/libsmb/clifile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/libsmb') diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 2ebd960d81..a559664fb3 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -330,6 +330,8 @@ static BOOL cli_unix_chmod_chown_internal(struct cli_state *cli, const char *fna p += clistr_push(cli, p, fname, -1, STR_TERMINATE); param_len = PTR_DIFF(p, param); + memset(data, 0xff, 40); /* Set all sizes/times to no change. */ + SIVAL(data,40,uid); SIVAL(data,48,gid); SIVAL(data,84,mode); -- cgit