[SCM] Samba Shared Repository - branch master updated
Andreas Schneider
asn at samba.org
Mon Jul 31 11:50:02 UTC 2017
The branch, master has been updated
via 8ab6e51 lib: Fix an error path memleak
via 9607b66 lib: Fix a typo
via 9927e19 lib: Fix 1415704 CID Integer overflowed argument
from 33e7fac docs/vfs_fruit: remove period outside of the <para> tag
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8ab6e51defdd59e08213b130608f64606657493d
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 26 17:24:51 2017 +0200
lib: Fix an error path memleak
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>
Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date(master): Mon Jul 31 13:49:02 CEST 2017 on sn-devel-144
commit 9607b66a93c72509fed3f7c47ce3d3a85ee541c4
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 26 17:22:42 2017 +0200
lib: Fix a typo
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>
commit 9927e19965dcab32356a579fc490f6abe8bc7c77
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 27 14:09:20 2017 +0200
lib: Fix 1415704 CID Integer overflowed argument
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>
-----------------------------------------------------------------------
Summary of changes:
lib/uid_wrapper/uid_wrapper.c | 2 +-
libcli/auth/schannel_state_tdb.c | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/uid_wrapper/uid_wrapper.c b/lib/uid_wrapper/uid_wrapper.c
index 0d74d20..cb31c5e 100644
--- a/lib/uid_wrapper/uid_wrapper.c
+++ b/lib/uid_wrapper/uid_wrapper.c
@@ -1035,7 +1035,7 @@ static void uwrap_init_env(struct uwrap_thread *id)
id->ngroups = 0;
free(id->groups);
- id->groups = malloc(sizeof(gid_t) * ngroups);
+ id->groups = calloc(ngroups, sizeof(gid_t));
if (id->groups == NULL) {
UWRAP_LOG(UWRAP_LOG_ERROR,
"Unable to allocate memory");
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c
index d884279..6a19823 100644
--- a/libcli/auth/schannel_state_tdb.c
+++ b/libcli/auth/schannel_state_tdb.c
@@ -263,11 +263,13 @@ NTSTATUS schannel_save_creds_state(TALLOC_CTX *mem_ctx,
db_sc = open_schannel_session_store(tmpctx, lp_ctx);
if (!db_sc) {
- return NT_STATUS_ACCESS_DENIED;
+ status = NT_STATUS_ACCESS_DENIED;
+ goto fail;
}
status = schannel_store_session_key_tdb(db_sc, tmpctx, creds);
+fail:
talloc_free(tmpctx);
return status;
}
@@ -439,7 +441,7 @@ NTSTATUS schannel_fetch_challenge_tdb(struct db_context *db_sc,
}
/******************************************************************************
- Wrapper around schannel_fetch_session_key_tdb()
+ Wrapper around schannel_fetch_challenge_tdb()
Note we must be root here.
*******************************************************************************/
--
Samba Shared Repository
More information about the samba-cvs
mailing list