diff options
author | Aron Parsons <parsonsa@bit-sys.com> | 2015-04-29 02:44:18 +0000 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-30 08:47:33 +0200 |
commit | 8f57c6765b10de36582ef1dbee32d75452451a94 (patch) | |
tree | 0e366db2874b48786c01ea08155fefac60219972 | |
parent | e31d5babfd036cf64c9179dc60bbd79f541ef89b (diff) | |
download | sssd-8f57c6765b10de36582ef1dbee32d75452451a94.tar.gz sssd-8f57c6765b10de36582ef1dbee32d75452451a94.tar.xz sssd-8f57c6765b10de36582ef1dbee32d75452451a94.zip |
autofs: fix 'Cannot allocate memory' with FQDNs
https://fedorahosted.org/sssd/ticket/2643
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 4df706219e64527209f12ad0c7814ee1be979c07)
-rw-r--r-- | src/responder/autofs/autofssrv_cmd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/responder/autofs/autofssrv_cmd.c b/src/responder/autofs/autofssrv_cmd.c index 797e638d5..27b6617c2 100644 --- a/src/responder/autofs/autofssrv_cmd.c +++ b/src/responder/autofs/autofssrv_cmd.c @@ -628,15 +628,6 @@ lookup_automntmap_step(struct setautomntent_lookup_ctx *lookup_ctx) /* Check each domain for this map name */ while (dom) { - /* if it is a domainless search, skip domains that require fully - * qualified names instead */ - while (dom && dctx->cmd_ctx->check_next && dom->fqnames) { - dom = get_next_domain(dom, false); - } - - /* No domains left to search */ - if (!dom) break; - if (dom != dctx->domain) { /* make sure we reset the check_provider flag when we check * a new domain */ |