555. [bug] Slave server attempting zone transfer could crash
with an assertion failure on certain malformed
responses from the master. [RT #457]
572. [bug] Quoted strings were not accepted as key names in
address match lists.
+ 555. [bug] Slave server attempting zone transfer could crash
+ with an assertion failure on certain malformed
+ responses from the master. [RT #457]
+
554. [bug] In some cases, not all of the dnssec tools were
properly installed.
* SOFTWARE.
*/
-/* $Id: xfrin.c,v 1.79.2.6 2000/09/01 01:06:06 bwelling Exp $ */
+/* $Id: xfrin.c,v 1.79.2.7 2000/12/05 18:59:47 bwelling Exp $ */
#include <config.h>
redo:
switch (xfr->state) {
case XFRST_SOAQUERY:
+ if (rdata->type != dns_rdatatype_soa) {
+ xfrin_log(xfr, ISC_LOG_ERROR,
+ "non-SOA response to SOA query");
+ FAIL(DNS_R_FORMERR);
+ }
xfr->end_serial = dns_soa_getserial(rdata);
if (!DNS_SERIAL_GT(xfr->end_serial,
xfr->ixfr.request_serial)) {