The branch, master has been updated
       via  8880170... s4:dsdb LDB attribute lists must always be a static 
const char **.
      from  8e5f5e3... s4:provision - Removed dependency on full Samba 3 schema 
from FDS

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


- Log -----------------------------------------------------------------
commit 88801709781df4fc84bf4b9da12d7f1808bdd86b
Author: Andrew Bartlett <[email protected]>
Date:   Mon Nov 16 10:19:42 2009 +1100

    s4:dsdb LDB attribute lists must always be a static const char **.
    
    (If they are not, then due to the async code, they will cause a segfault as 
they reference a reclaimed portion of the stack).
    
    Andrew Bartlett

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

Summary of changes:
 source4/dsdb/samdb/ldb_modules/samldb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c 
b/source4/dsdb/samdb/ldb_modules/samldb.c
index 390950b..bfc4cac 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -992,7 +992,7 @@ static int samldb_find_for_defaultObjectCategory(struct 
samldb_ctx *ac)
        struct ldb_context *ldb;
        struct ldb_request *req;
         int ret;
-       const char *no_attrs[] = { NULL };
+       static const char *no_attrs[] = { NULL };
 
        ldb = ldb_module_get_ctx(ac->module);
 


-- 
Samba Shared Repository

Reply via email to