This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch 389-ds-base-1.3.6
in repository 389-ds-base.
commit 02f502a6c24f484a69878b3d9cd2c43eeab51c13
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Fri Apr 20 11:05:25 2018 -0400
Ticket 49644 - crash in debug build
Description: In a debug build of the server it crashes when searching
the cn=config. This is due to a pointer not being initialized
before being dereferenced.
https://pagure.io/389-ds-base/issue/49644
Reviewed by: mreynolds(one line commit rule)
(cherry picked from commit 5bfc18a245405229bd7bd2acfee681e68df338d6)
---
ldap/servers/slapd/back-ldbm/monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ldap/servers/slapd/back-ldbm/monitor.c
b/ldap/servers/slapd/back-ldbm/monitor.c
index 9b88823..c9504f5 100644
--- a/ldap/servers/slapd/back-ldbm/monitor.c
+++ b/ldap/servers/slapd/back-ldbm/monitor.c
@@ -155,7 +155,7 @@ int ldbm_back_monitor_instance_search(Slapi_PBlock *pb
__attribute__((unused)),
#ifdef DEBUG
{
/* debugging for hash statistics */
- char *x;
+ char *x = NULL;
cache_debug_hash(&(inst->inst_cache), &x);
val.bv_val = x;
val.bv_len = strlen(x);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.