BIND 10 trac2387, updated. 393534ac4698e6dfeee32ab4bdf99e25eade4a76 [2387] Add NSEC3PARAM test for bad base32 hex sequence

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Mar 25 14:46:05 UTC 2013


The branch, trac2387 has been updated
       via  393534ac4698e6dfeee32ab4bdf99e25eade4a76 (commit)
      from  98b10b7662c77074dc26b27a4db1023b18821942 (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 393534ac4698e6dfeee32ab4bdf99e25eade4a76
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Mar 25 20:15:36 2013 +0530

    [2387] Add NSEC3PARAM test for bad base32 hex sequence

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dns/tests/rdata_nsec3param_unittest.cc |    3 +++
 1 file changed, 3 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/rdata_nsec3param_unittest.cc b/src/lib/dns/tests/rdata_nsec3param_unittest.cc
index 906d289..79e255a 100644
--- a/src/lib/dns/tests/rdata_nsec3param_unittest.cc
+++ b/src/lib/dns/tests/rdata_nsec3param_unittest.cc
@@ -94,6 +94,9 @@ TEST_F(Rdata_NSEC3PARAM_Test, badText) {
     // Iterations out of range.
     EXPECT_THROW(generic::NSEC3PARAM("1 1 65536 D399EAAB"), InvalidRdataText);
 
+    // Bad base32 hex sequence
+    EXPECT_THROW(generic::NSEC3PARAM("1 1 256 D399EAABZOO"), BadValue);
+
     // String instead of number
     EXPECT_THROW(generic::NSEC3PARAM("foo 1 256 D399EAAB"),
                  InvalidRdataText);



More information about the bind10-changes mailing list