From 754ae02cc7f41ac66625d8d988a588e5d97037e4 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 1 May 1999 00:48:54 +0000 Subject: [PATCH] disable octal bitstrings since they are broken --- lib/dns/name.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/dns/name.c b/lib/dns/name.c index 3d0bf60333..1c54bdddad 100644 --- a/lib/dns/name.c +++ b/lib/dns/name.c @@ -1075,6 +1075,15 @@ dns_name_fromtext(dns_name_t *name, isc_buffer_t *source, maxlength = 256; kind = ft_octal; state = ft_octal; + /* + * XXXRTH + * + * The code dealing with octal bitstrings can + * current generate invalid names. Rather than + * do this, we simply say they're not + * implemented yet. + */ + return (DNS_R_NOTIMPLEMENTED); } else if (c == 'x') { vlen = 8; maxlength = 256;