]> git.ipfire.org Git - thirdparty/bind9.git/commit
add test cases for several FORMERR code paths:
authorMark Andrews <marka@isc.org>
Mon, 29 Jan 2024 18:21:37 +0000 (10:21 -0800)
committerMark Andrews <marka@isc.org>
Fri, 17 May 2024 03:39:22 +0000 (13:39 +1000)
commit6e9ed4983eb6ed7c018f23e1b7cd8c46f9104fc0
tree56e585257625460a462ed70d9eb7e65a99c9544d
parent6a9ac65f0caa45e01992f1b24d77be29e3a57ee9
add test cases for several FORMERR code paths:

  - duplicated question
  - duplicated answer
  - qtype as an answer
  - two question types
  - question names
  - nsec3 bad owner name
  - short record
  - short question
  - mismatching question class
  - bad record owner name
  - mismatched class in record
  - mismatched KEY class
  - OPT wrong owner name
  - invalid RRSIG "covers" type
  - UPDATE malformed delete type
  - TSIG wrong class
  - TSIG not the last record
21 files changed:
.reuse/dep5
bin/tests/system/formerr/badnsec3owner [new file with mode: 0644]
bin/tests/system/formerr/badrecordname [new file with mode: 0644]
bin/tests/system/formerr/clean.sh
bin/tests/system/formerr/dupans [new file with mode: 0644]
bin/tests/system/formerr/dupquestion [new file with mode: 0644]
bin/tests/system/formerr/keyclass [new file with mode: 0644]
bin/tests/system/formerr/malformeddeltype [new file with mode: 0644]
bin/tests/system/formerr/malformedrrsig [new file with mode: 0644]
bin/tests/system/formerr/optwrongname [new file with mode: 0644]
bin/tests/system/formerr/qtypeasanswer [new file with mode: 0644]
bin/tests/system/formerr/questionclass [new file with mode: 0644]
bin/tests/system/formerr/shortquestion [new file with mode: 0644]
bin/tests/system/formerr/shortrecord [new file with mode: 0644]
bin/tests/system/formerr/tests.sh
bin/tests/system/formerr/tsignotlast [new file with mode: 0644]
bin/tests/system/formerr/tsigwrongclass [new file with mode: 0644]
bin/tests/system/formerr/twoquestionnames [new file with mode: 0644]
bin/tests/system/formerr/twoquestiontypes [moved from bin/tests/system/formerr/twoquestions with 64% similarity]
bin/tests/system/formerr/wrongclass [new file with mode: 0644]
lib/dns/message.c