BIND 10 #411: isc.datasrc.master's isttl() regex is broken
BIND 10 Development
do-not-reply at isc.org
Mon Nov 22 12:58:32 UTC 2010
#411: isc.datasrc.master's isttl() regex is broken
------------------------------+---------------------------------------------
Reporter: jreed | Owner: vorner
Type: defect | Status: reviewing
Priority: major | Milestone: y2 12 month milestone
Component: data source | Resolution:
Keywords: | Sensitive: 0
Estimatedhours: 0.0 | Hours: 0
Billable: 1 | Totalhours: 0
Internal: 0 |
------------------------------+---------------------------------------------
Changes (by jinmei):
* owner: jinmei => vorner
Comment:
Replying to [comment:4 vorner]:
> Hello
>
> Seems OK, I think it can be merged.
>
> However, is it a complete fix? What if someone has a domain containing
1d as the name?
>
It's not a complete fix. The patched code would still be confused with a
line beginning with "1d", "1H", "3600", etc. For a complete fix we need
to address the more general issue reported in #413.
We should probably note that in ChangeLog:
{{{
119.? [bug] jinmei
The master file parser of the python datasrc module incorrectly
regarded a domain name beginning with a decimal number as a TTL
specification. This confused b10-loadzone and had it reject to
load a zone file that contains such a name.
Note: this fix is incomplete and the loadzone would still be
confused if the owner name is a syntactically indistinguishable
from a TTL specification. This is part of a more general issue
and will be addressed in Trac #413. (Trac #411, svn rTBD)
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/411#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list