[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Sat Jun 19 14:22:41 MDT 2010
The branch, master has been updated
via d3a9957... libcli: Fixed a segfault in security_acl_dup when the acl is NULL.
from cadca1f... s4:provision: don't use hardcoded 'Default-First-Site-Name'
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d3a99579f6c87bf9bc5863ca645bc1456ee6834f
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Tue May 25 16:14:37 2010 -0400
libcli: Fixed a segfault in security_acl_dup when the acl is NULL.
This can happen when duplicating a security descriptor that is missing either sacls or dacls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
-----------------------------------------------------------------------
Summary of changes:
libcli/security/security_descriptor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/libcli/security/security_descriptor.c b/libcli/security/security_descriptor.c
index b77a281..4e67e0a 100644
--- a/libcli/security/security_descriptor.c
+++ b/libcli/security/security_descriptor.c
@@ -55,6 +55,10 @@ struct security_acl *security_acl_dup(TALLOC_CTX *mem_ctx,
{
struct security_acl *nacl;
+ if (oacl == NULL) {
+ return NULL;
+ }
+
nacl = talloc (mem_ctx, struct security_acl);
if (nacl == NULL) {
return NULL;
--
Samba Shared Repository
More information about the samba-cvs
mailing list