aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_comp.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-12-07 19:37:55 +0000
committerRoland McGrath <roland@gnu.org>1995-12-07 19:37:55 +0000
commita4219bc4c0da2ca06c8edc2c62664c7883b8dbff (patch)
tree3854926df2908f20cc5d158f6ffaa14a6bd0faa8 /resolv/res_comp.c
parent0c7b844d256598d5fda1692894fc769ca9f18450 (diff)
downloadglibc-a4219bc4c0da2ca06c8edc2c62664c7883b8dbff.tar
glibc-a4219bc4c0da2ca06c8edc2c62664c7883b8dbff.tar.gz
glibc-a4219bc4c0da2ca06c8edc2c62664c7883b8dbff.tar.bz2
glibc-a4219bc4c0da2ca06c8edc2c62664c7883b8dbff.zip
Updated from BIND-4.9.3-BETA27.
Diffstat (limited to 'resolv/res_comp.c')
-rw-r--r--resolv/res_comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_comp.c b/resolv/res_comp.c
index aa6afa39eb..1342205f28 100644
--- a/resolv/res_comp.c
+++ b/resolv/res_comp.c
@@ -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++ = '\\';