corrupted requests with multiple questions could

cause assertion failure (fix from Bob)
This commit is contained in:
Andreas Gustafsson
2000-04-28 23:48:49 +00:00
parent b77f76be2d
commit 97f75286ad
2 changed files with 4 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
141. [bug] Corrupt requests with multiple questions could
cause an assertion failure.
140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>.
139. [cleanup] <isc/net.h> now includes <isc/types.h> instead of

View File

@@ -941,6 +941,7 @@ getquestions(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx)
rdataset->attributes |= DNS_RDATASETATTR_QUESTION;
ISC_LIST_APPEND(name->list, rdataset, link);
rdataset = NULL;
}
return (ISC_R_SUCCESS);