mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 05:12:05 -04:00
parent
b9eb3de20b
commit
709220567f
2 changed files with 6 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2230. [bug] We could INSIST reading a corrupted journal.
|
||||
[RT #17132]
|
||||
|
||||
2229. [bug] Null pointer dereference on query pool creation
|
||||
failure. [RT #17133]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: journal.c,v 1.98 2007/09/02 23:02:53 marka Exp $ */
|
||||
/* $Id: journal.c,v 1.99 2007/09/07 05:14:33 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1629,6 +1629,8 @@ read_one_rr(dns_journal_t *j) {
|
|||
/*
|
||||
* Parse the rdata.
|
||||
*/
|
||||
if (isc_buffer_remaininglength(&j->it.source) != rdlen)
|
||||
FAIL(DNS_R_FORMERR);
|
||||
isc_buffer_setactive(&j->it.source, rdlen);
|
||||
dns_rdata_reset(&j->it.rdata);
|
||||
CHECK(dns_rdata_fromwire(&j->it.rdata, rdclass,
|
||||
|
|
|
|||
Loading…
Reference in a new issue