Univention Bugzilla – Attachment 9679 Details for
Bug 47837
SIGSEGV: src/change.c:315 - server/role not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix SIGSEGV wen UCRV server/role is unset
file_47837.txt (text/plain), 693 bytes, created by
Philipp Hahn
on 2018-09-19 15:31:42 CEST
(
hide
)
Description:
Fix SIGSEGV wen UCRV server/role is unset
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2018-09-19 15:31:42 CEST
Size:
693 bytes
patch
obsolete
>diff --git a/management/univention-directory-listener/src/change.c b/management/univention-directory-listener/src/change.c >index 0ea265725a..1b75b37723 100644 >--- a/management/univention-directory-listener/src/change.c >+++ b/management/univention-directory-listener/src/change.c >@@ -311,8 +311,7 @@ int change_update_schema(univention_ldap_parameters_t *lp) { > char *server_role; > > server_role = univention_config_get_string("server/role"); >- >- if (!strcmp(server_role, "domaincontroller_master")) { >+ if (server_role && !strcmp(server_role, "domaincontroller_master")) { > free(server_role); > return LDAP_SUCCESS; > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47837
: 9679