Hi,

this patch is a fix for bug #213. The reason for the bug is a double
free during the call of the sdap timeout handler.

bye,
Sumit 
>From da74240dd2d521d479327351ef2931aacfa9b3ac Mon Sep 17 00:00:00 2001
From: Sumit Bose <sb...@redhat.com>
Date: Mon, 5 Oct 2009 09:38:29 +0200
Subject: [PATCH] remove redundant talloc_free

- this patch should fix bug #213, a double free in the sdap timeout handler
---
 server/providers/ldap/sdap_async.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/server/providers/ldap/sdap_async.c 
b/server/providers/ldap/sdap_async.c
index c3ca53e..f68a31c 100644
--- a/server/providers/ldap/sdap_async.c
+++ b/server/providers/ldap/sdap_async.c
@@ -390,9 +390,6 @@ static void sdap_op_timeout(struct tevent_req *req)
 
     /* signal the caller that we have a timeout */
     op->callback(op, NULL, ETIMEDOUT, op->data);
-
-    /* send back to the server an abandon (see destructor) and free the op */
-    talloc_free(op);
 }
 
 static int sdap_op_add(TALLOC_CTX *memctx, struct tevent_context *ev,
-- 
1.6.2.5

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to