BIND 10 bind10-20111128-release, updated. 04eea5dd908cbb686bcd152701974ff0f0d34873 Fix negative math error where label count of zone is more than the label count of a NS for that zone. See ticket #1430 for more information.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Nov 28 14:13:31 UTC 2011
The branch, bind10-20111128-release has been updated
via 04eea5dd908cbb686bcd152701974ff0f0d34873 (commit)
from 42ebece4f60aa28ef865d0fe1431738dc58005cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 04eea5dd908cbb686bcd152701974ff0f0d34873
Author: Shane Kerr <shane at isc.org>
Date: Mon Nov 28 15:12:29 2011 +0100
Fix negative math error where label count of zone is more than
the label count of a NS for that zone. See ticket #1430 for more
information.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/database.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/database.cc b/src/lib/datasrc/database.cc
index 1bf93fc..053d4bc 100644
--- a/src/lib/datasrc/database.cc
+++ b/src/lib/datasrc/database.cc
@@ -520,7 +520,7 @@ DatabaseClient::Finder::find(const isc::dns::Name& name,
// It's not empty non-terminal. So check for wildcards.
// We remove labels one by one and look for the wildcard there.
// Go up to first non-empty domain.
- for (size_t i(1); i <= current_label_count - last_known; ++i) {
+ for (size_t i(1); i + last_known <= current_label_count; ++i) {
// Construct the name with *
const Name superdomain(name.split(i));
const string wildcard("*." + superdomain.toText());
More information about the bind10-changes
mailing list