The Samba-Bugzilla – Attachment 15773 Details for
Bug 14264
"net sam listmem Administrators" leads to PANIC: Bad talloc magic value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix for talloc_steal() bug
file_14264.txt (text/plain), 965 bytes, created by
Jonathon Reinhart
on 2020-02-05 05:15:42 UTC
(
hide
)
Description:
Possible fix for talloc_steal() bug
Filename:
MIME Type:
Creator:
Jonathon Reinhart
Created:
2020-02-05 05:15:42 UTC
Size:
965 bytes
patch
obsolete
>diff --git a/source3/passdb/pdb_samba_dsdb.c b/source3/passdb/pdb_samba_dsdb.c >index f405c51aaeb..0a84f9af4b4 100644 >--- a/source3/passdb/pdb_samba_dsdb.c >+++ b/source3/passdb/pdb_samba_dsdb.c >@@ -1722,9 +1722,6 @@ static NTSTATUS pdb_samba_dsdb_enum_aliasmem(struct pdb_methods *m, > > status = dsdb_enum_group_mem(state->ldb, mem_ctx, dn, pmembers, &num_members); > *pnum_members = num_members; >- if (NT_STATUS_IS_OK(status)) { >- talloc_steal(mem_ctx, pmembers); >- } > talloc_free(tmp_ctx); > return status; > } >diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c >index bb906fa0488..f022cfe296e 100644 >--- a/source4/dsdb/common/util_samr.c >+++ b/source4/dsdb/common/util_samr.c >@@ -481,7 +481,7 @@ NTSTATUS dsdb_enum_group_mem(struct ldb_context *ldb, > ++j; > } > >- *members_out = talloc_steal(mem_ctx, members); >+ *members_out = members; > *pnum_members = j; > talloc_free(tmp_ctx); > return NT_STATUS_OK;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14264
: 15773 |
15846