From 5dca77263340b272bfa51de0fe9729fa4a292306 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 17 Dec 2010 15:17:42 +0100 Subject: Fix possible NULL-dereference in lookup_netgr_step() https://fedorahosted.org/sssd/ticket/735 --- src/responder/nss/nsssrv_netgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/responder/nss/nsssrv_netgroup.c b/src/responder/nss/nsssrv_netgroup.c index 2c47be9c..331fb845 100644 --- a/src/responder/nss/nsssrv_netgroup.c +++ b/src/responder/nss/nsssrv_netgroup.c @@ -498,7 +498,7 @@ static errno_t lookup_netgr_step(struct setent_step_ctx *step_ctx) if (ret != EOK) { DEBUG(1, ("set_netgroup_entry failed, ignored.\n")); } - set_netgr_lifetime(dom->entry_cache_timeout, step_ctx, netgr); + set_netgr_lifetime(step_ctx->nctx->neg_timeout, step_ctx, netgr); } return ENOENT; -- cgit