diff options
Diffstat (limited to 'resolv/res_comp.c')
-rw-r--r-- | resolv/res_comp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_comp.c b/resolv/res_comp.c index aa6afa3..1342205 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++ = '\\'; |