diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-07-28 12:58:58 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-07-28 12:58:58 -0700 |
commit | 500775eb145372c5dcbc6e9814858d01730900c7 (patch) | |
tree | ceca65bf81fc433573c1840d7801838990ea831d | |
parent | 58021c21c28fdb4949d44aa92e68874155842ccc (diff) |
Continue processing Xaccess after unresolvable host entry found
If there is an unresolvable host entry in Xaccess file, XDMCP access from
the hosts whose entries are specified after the unresolvable host in Xaccess
were rejected.
(Originally reported against dtlogin as Solaris bug 6259901.)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | access.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -397,6 +397,7 @@ ReadDisplayEntry (FILE *file) struct _display *display; HostEntry *h, **prev; +tryagain: displayOrAlias = ReadWord (file, FALSE); if (!displayOrAlias) return NULL; @@ -473,7 +474,7 @@ ReadDisplayEntry (FILE *file) if (ai) freeaddrinfo(ai); # endif - return NULL; + goto tryagain; } d->type = DISPLAY_ADDRESS; display = &d->entry.displayAddress; |