Updated from BIND-4.9.3-BETA27.
authorroland <roland>
Thu, 7 Dec 1995 19:37:55 +0000 (19:37 +0000)
committerroland <roland>
Thu, 7 Dec 1995 19:37:55 +0000 (19:37 +0000)
resolv/res_comp.c

index aa6afa3..1342205 100644 (file)
@@ -116,7 +116,7 @@ dn_expand(msg, eomorig, comp_dn, exp_dn, length)
                                return (-1);
                        checked += n + 1;
                        while (--n >= 0) {
-                               if ((c = *cp++) == '.') {
+                               if (((c = *cp++) == '.') || (c == '\\')) {
                                        if (dn + n + 2 >= eom)
                                                return (-1);
                                        *dn++ = '\\';