subj says it all.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From 0fd049f4b62e92d275561e073b7f32ba6e5d43fe Mon Sep 17 00:00:00 2001
From: Simo Sorce <[email protected]>
Date: Tue, 17 Nov 2009 14:55:41 -0500
Subject: [PATCH] Fix crash due to uninitialized timeout variable

This slipped through in previous patches.
Fixes #283
---
 server/db/sysdb_ops.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/db/sysdb_ops.c b/server/db/sysdb_ops.c
index 7e232a4..4a44f28 100644
--- a/server/db/sysdb_ops.c
+++ b/server/db/sysdb_ops.c
@@ -2181,6 +2181,7 @@ struct tevent_req *sysdb_add_group_send(TALLOC_CTX *mem_ctx,
     state->name = name;
     state->gid = gid;
     state->attrs = attrs;
+    state->cache_timeout = cache_timeout;
 
     if (domain->id_max != 0 && gid != 0 &&
         (gid < domain->id_min || gid > domain->id_max)) {
-- 
1.6.2.5

_______________________________________________
sssd-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to