[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Thu Oct 29 03:32:02 UTC 2020
The branch, master has been updated
via cc4901123da s3:rpcclient fix NULL - deref caused by misuse of chgpasswd3
from 5f92ec6988d s4:torture: Pass buffer correctly to write()
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit cc4901123daff9da1e0872dbd38575770e3a68d6
Author: Andrew Walker <awalker at ixsystems.com>
Date: Wed Oct 28 14:38:48 2020 -0400
s3:rpcclient fix NULL - deref caused by misuse of chgpasswd3
Passing wrong number of arguments to chgpasswd3 will cause rpcclient to crash.
Signed-off-by: Andrew Walker <awalker at ixsystems.com>
Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Thu Oct 29 03:31:56 UTC 2020 on sn-devel-184
-----------------------------------------------------------------------
Summary of changes:
source3/rpcclient/cmd_samr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index d30f4184cc6..eb7f7fc8424 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -3033,7 +3033,7 @@ static NTSTATUS cmd_samr_chgpasswd3(struct rpc_pipe_client *cli,
struct userPwdChangeFailureInformation *reject = NULL;
struct dcerpc_binding_handle *b = cli->binding_handle;
- if (argc < 3) {
+ if (argc < 4) {
printf("Usage: %s username oldpass newpass\n", argv[0]);
return NT_STATUS_INVALID_PARAMETER;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list