diff options
author | Aron Parsons <parsonsa@bit-sys.com> | 2015-04-29 02:44:18 +0000 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-19 14:09:45 +0200 |
commit | f8604fe7809a15792752a90c01c9cef432523802 (patch) | |
tree | fa1b031010c85d838bfc1691c8c207f45a9d3be9 | |
parent | ace2b0e418a31f63c8161d6c6c9b9f32392d290a (diff) | |
download | sssd-f8604fe7809a15792752a90c01c9cef432523802.tar.gz sssd-f8604fe7809a15792752a90c01c9cef432523802.tar.xz sssd-f8604fe7809a15792752a90c01c9cef432523802.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)
(cherry picked from commit 8f57c6765b10de36582ef1dbee32d75452451a94)
-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 8cae9b481..f96a6a63a 100644 --- a/src/responder/autofs/autofssrv_cmd.c +++ b/src/responder/autofs/autofssrv_cmd.c @@ -624,15 +624,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 */ |