summaryrefslogtreecommitdiff
path: root/src/responder/nss
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-12-17 15:17:42 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-12-17 09:32:09 -0500
commit5dca77263340b272bfa51de0fe9729fa4a292306 (patch)
treef53113ece15cf6d6fd041c1bc6f7fb7e519f7ea9 /src/responder/nss
parentca4d33adf80cfbd94ca2ae7620520c128244a6d9 (diff)
downloadsssd-5dca77263340b272bfa51de0fe9729fa4a292306.tar.gz
sssd-5dca77263340b272bfa51de0fe9729fa4a292306.tar.bz2
sssd-5dca77263340b272bfa51de0fe9729fa4a292306.zip
Fix possible NULL-dereference in lookup_netgr_step()
https://fedorahosted.org/sssd/ticket/735
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv_netgroup.c2
1 files changed, 1 insertions, 1 deletions
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;