12 lines
583 B
Diff
12 lines
583 B
Diff
|
diff -Naur unbound-1.4.9/daemon/worker.c unbound-1.4.9-CVE-2011-1922/daemon/worker.c
|
||
|
--- unbound-1.4.9/daemon/worker.c 2010-11-04 08:35:39.000000000 -0400
|
||
|
+++ unbound-1.4.9-CVE-2011-1922/daemon/worker.c 2011-05-25 15:14:04.888288236 -0400
|
||
|
@@ -777,6 +777,7 @@
|
||
|
qinfo.qtype == LDNS_RR_TYPE_IXFR) {
|
||
|
verbose(VERB_ALGO, "worker request: refused zone transfer.");
|
||
|
log_addr(VERB_CLIENT,"from",&repinfo->addr, repinfo->addrlen);
|
||
|
+ ldns_buffer_rewind(c->buffer);
|
||
|
LDNS_QR_SET(ldns_buffer_begin(c->buffer));
|
||
|
LDNS_RCODE_SET(ldns_buffer_begin(c->buffer),
|
||
|
LDNS_RCODE_REFUSED);
|