mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
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
This commit is contained in:
parent
8e5f5e3f05
commit
8880170978
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user