Browse Source

added a malformed RRSIG RDATA that woud make the constructor crash

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1081 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
b7ad237366

+ 12 - 0
src/lib/dns/cpp/tests/testdata/rdata_rrsig_fromWire2

@@ -0,0 +1,12 @@
+###
+### This data file was auto-generated from rdata_rrsig_fromWire2.spec
+###
+
+# RRSIG RDATA (RDLEN=19)
+0013
+# Covered=A(1) Algorithm=RSASHA1(5) Labels=2 OrigTTL=3600
+0001 05 02 00000e10
+# Expiration=1264968000, Inception=1262376000
+4b65e140 4b3e5440
+# Tag=4149 Signer=example.com and Signature
+1035 076578616d706c6503636f6d00 123456789abcdef123456789abcdef

+ 8 - 0
src/lib/dns/cpp/tests/testdata/rdata_rrsig_fromWire2.spec

@@ -0,0 +1,8 @@
+#
+# RRSIG RDATA with a bogus RDLEN (too short)
+#
+
+[custom]
+sections: rrsig
+[rrsig]
+rdlen: 19