[Freeipa-devel] [PATCH] 0021 Fix crash on reload with persistent search enabled
Adam Tkac
atkac at redhat.com
Thu Jun 7 15:29:32 UTC 2012
On Thu, Jun 07, 2012 at 02:46:56PM +0200, Petr Spacek wrote:
> Hello,
>
> this patch fixes https://fedorahosted.org/bind-dyndb-ldap/ticket/78:
> Crash on reload with persistent search enabled.
Thanks, pushed to master.
> From ea1119e533a5171586ef8a3bddf66138ccb88b7e Mon Sep 17 00:00:00 2001
> From: Petr Spacek <pspacek at redhat.com>
> Date: Thu, 7 Jun 2012 14:42:40 +0200
> Subject: [PATCH] Fix crash during BIND reload with persistent search enabled.
> https://fedorahosted.org/bind-dyndb-ldap/ticket/78
> Signed-off-by: Petr Spacek <pspacek at redhat.com>
>
> ---
> src/ldap_helper.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/ldap_helper.c b/src/ldap_helper.c
> index 5965d30e51fa50fcb4b38d35e023a529fd6a121f..dc4fdf5e9f6c8661337fe0cffb1437bc16515075 100644
> --- a/src/ldap_helper.c
> +++ b/src/ldap_helper.c
> @@ -3078,7 +3078,7 @@ static isc_threadresult_t
> ldap_psearch_watcher(isc_threadarg_t arg)
> {
> ldap_instance_t *inst = (ldap_instance_t *)arg;
> - ldap_connection_t *conn;
> + ldap_connection_t *conn = NULL;
> struct timeval tv;
> int ret, cnt;
> isc_result_t result;
> --
> 1.7.7.6
>
--
Adam Tkac, Red Hat, Inc.
More information about the Freeipa-devel
mailing list