The branch, master has been updated
       via  2d35fd7 Fix bug #8811 - sd_has_inheritable_components segfaults on 
an SD that se_access_check accepts.
      from  44590c1 Fix bug #8795 - Samba does not handle the Owner Rights 
permissions at all

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 2d35fd7259bb8ad9a4a6a0c0b8d7a4f1cdf78c12
Author: Jeremy Allison <j...@samba.org>
Date:   Tue Mar 13 19:26:02 2012 -0700

    Fix bug #8811 - sd_has_inheritable_components segfaults on an SD that 
se_access_check accepts.
    
    Autobuild-User: Jeremy Allison <j...@samba.org>
    Autobuild-Date: Wed Mar 14 05:08:03 CET 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 libcli/security/secdesc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libcli/security/secdesc.c b/libcli/security/secdesc.c
index fcd0828..84128e4 100644
--- a/libcli/security/secdesc.c
+++ b/libcli/security/secdesc.c
@@ -542,6 +542,10 @@ bool sd_has_inheritable_components(const struct 
security_descriptor *parent_ctr,
        unsigned int i;
        const struct security_acl *the_acl = parent_ctr->dacl;
 
+       if (the_acl == NULL) {
+               return false;
+       }
+
        for (i = 0; i < the_acl->num_aces; i++) {
                const struct security_ace *ace = &the_acl->aces[i];
 


-- 
Samba Shared Repository

Reply via email to