The Samba-Bugzilla – Attachment 9611 Details for
Bug 10398
Segfault in replmd_check_urgent_objectclass due to objectClass missing on deleted object
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Avoid-segfault-when-objectClass-is-missing.patch
0001-Avoid-segfault-when-objectClass-is-missing.patch (text/plain), 1.04 KB, created by
Arvid Requate
on 2014-01-23 12:23:01 UTC
(
hide
)
Description:
0001-Avoid-segfault-when-objectClass-is-missing.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2014-01-23 12:23:01 UTC
Size:
1.04 KB
patch
obsolete
>From 2ba378b63a65ef7c85dae8bf9fca54af13153e60 Mon Sep 17 00:00:00 2001 >From: Arvid Requate <requate@univention.de> >Date: Thu, 23 Jan 2014 12:49:32 +0100 >Subject: [PATCH] Avoid segfault when objectClass is missing. > >--- > source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c >index 91a5d92..3af0caa 100644 >--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c >+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c >@@ -1399,7 +1399,10 @@ static int replmd_update_rpmd(struct ldb_module *module, > } > > objectclass_el = ldb_msg_find_element(res->msgs[0], "objectClass"); >- if (is_urgent && replmd_check_urgent_objectclass(objectclass_el, >+ if (!objectclass_el) { >+ DEBUG(0,(__location__ ": objectClass missing on %s\n", >+ ldb_dn_get_linearized(msg->dn))); >+ } else if (is_urgent && replmd_check_urgent_objectclass(objectclass_el, > situation)) { > *is_urgent = true; > } >-- >1.8.5.1 >
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 10398
:
9610
|
9611
|
9612
|
9729
|
9737
|
10088
|
10094