diff options
author | Sumit Bose <sbose@redhat.com> | 2010-12-17 15:17:42 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-17 09:32:09 -0500 |
commit | 5dca77263340b272bfa51de0fe9729fa4a292306 (patch) | |
tree | f53113ece15cf6d6fd041c1bc6f7fb7e519f7ea9 /src/responder/nss | |
parent | ca4d33adf80cfbd94ca2ae7620520c128244a6d9 (diff) | |
download | sssd-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.c | 2 |
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; |