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 17:49:22 +0200 |
commit | 51612e398f198596fe72926dcf0b82f53c0f4d5c (patch) | |
tree | a5783add7d60d08d8780f29335100e98187587db | |
parent | 4a6ad832d1e758e39a5561b7b8c9978e0ca260eb (diff) | |
download | sssd-51612e398f198596fe72926dcf0b82f53c0f4d5c.tar.gz sssd-51612e398f198596fe72926dcf0b82f53c0f4d5c.tar.xz sssd-51612e398f198596fe72926dcf0b82f53c0f4d5c.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 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 */ |